please forgive me I'm one of those newbies coming with a ?
I was looking @ some code that is a mix of "c" and asm. because I know just a little about
asm. and nothing about "c" how this would be written (or converted ) to asm.
#define word1 0x43
#define msb 0x07
#define same 0x01
void main()
{
// initialization
//
n_bits =0;
recv_reg =1;
cvs =4;
special_word =0x0f
I think n_bits =0 would be CLRF n_bits
and recv_reg =1 would be bsf recv_reg
but I'm not sure about the cvs=4 and special_word =0x0f
as for the #define would you list it after the endc as is just like I do
#DEFINE LED PORTC,0
thank you for your time
I'm just "trying"
I was looking @ some code that is a mix of "c" and asm. because I know just a little about
asm. and nothing about "c" how this would be written (or converted ) to asm.
#define word1 0x43
#define msb 0x07
#define same 0x01
void main()
{
// initialization
//
n_bits =0;
recv_reg =1;
cvs =4;
special_word =0x0f
I think n_bits =0 would be CLRF n_bits
and recv_reg =1 would be bsf recv_reg
but I'm not sure about the cvs=4 and special_word =0x0f
as for the #define would you list it after the endc as is just like I do
#DEFINE LED PORTC,0
thank you for your time
I'm just "trying"