Quantcast
Channel: Microcontrollers, Programming and IoT
Viewing all articles
Browse latest Browse all 1271

assembly Instructions

$
0
0
Hello
I need help to understand how does instruction fetch , decode and execute
code
Code:
ORG 000
MOV A,#55H ;load immediate value 55H into reg. A
MOV R0,A  ; move the content of A into R0
END
p>
Immediate ------------   Accumulator
Accumulator------------- register

CODE Memory
74 55 F8
MOV A,#55= 01110100  01010101
MOV R0, A = F8= 11111000
Code Memory
[CODE]ADDRESS                                          Value
0000= 0000000000000000           74= 01110100
0001= 0000000000000001...
assembly Instructions

Viewing all articles
Browse latest Browse all 1271

Trending Articles