Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4929

Determine opcode of instruction 8051

$
0
0
Hi
I was solving some homeworks and I need help to find the op code of this instructions I know it might not seem complicated for you and how can you need help to solve this but i am a beginner I literally dont know
first exmaple ADD A, R3 Opcode = 00101rrr = 00101011B=2BH (1-byte instruction) I foudn the same result ut I looked up a table . but why is this instruction a 1 byte instruction
(2) MOV P2, A Opcode=11110101 aaaaaaaa = F5H, A0H How did they find this...

Determine opcode of instruction 8051

Viewing all articles
Browse latest Browse all 4929