assembly - What is the addressing mode for ld, add, and rjmp instructions? -
assembly - What is the addressing mode for ld, add, and rjmp instructions? -
hey guys know ldi (load immediate) addressing mode set immediate , st instruction addressing mode set index. however, have no thought others curious are!
thanks :)
the addressing modes explained in instruction set, in first few pages. in table of instructions see operands instruction determine addressing mode. mode indicated arguments assembly instruction.
for example, ld
had several different ways of operating, depending on arguments. 1 of them ld rd,x
d
number of register, such ld r3,x
. ld r3,-z
else (although both indirect addressing).
rjmp k
relative addressing, jumping pc + k + 1.
add rr,rd
direct register addressing. result contained in rd.
assembly avr instructions
Comments
Post a Comment