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 result tried googling but in vain (2-byte instruction) and why is it a two byte instruction
Thanks a lot
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 result tried googling but in vain (2-byte instruction) and why is it a two byte instruction
Thanks a lot