mstechca
New Member
Perhaps I should add something.
It seems that all over on the internet, when I look for code for the at89c2051 (an 8051 compatible microcontroller), I see code, but I also see lines similar to the following in some code:
SETB 1.1
CLR 3.1
I downloaded the entire instruction set for my microcontroller from Amtel, and they gave me opcode equivalents for the commands, but not for the port numbers. I assume something is generic with them.
The parameter for each command is 8-bits according to the document. How do I convert the port outputs (1.1, 3.1, etc) to the correct ascii value? There is no site so far that shows me this.
It seems that all over on the internet, when I look for code for the at89c2051 (an 8051 compatible microcontroller), I see code, but I also see lines similar to the following in some code:
SETB 1.1
CLR 3.1
I downloaded the entire instruction set for my microcontroller from Amtel, and they gave me opcode equivalents for the commands, but not for the port numbers. I assume something is generic with them.
The parameter for each command is 8-bits according to the document. How do I convert the port outputs (1.1, 3.1, etc) to the correct ascii value? There is no site so far that shows me this.