Question: / * * EX: E 1 . 1 The ldi ( load immediate ) instruction loads an immediate value ( a value that is encoded

/** EX: E1.1
The ldi (load immediate) instruction loads an immediate value (a
value that is encoded within an opcode itself) into one of the
working registers R16-R31.
See AVR Instruction Set Manual 6.69 LDI - Load Immediate on p.92.
TASK: Replace "255" with the opcode that the assembler translates
the following instruction into before it is placed into program
memory:
ldi r18,202
*/
.set OPCODE_LDI, 0
ldi r16, lo8(OPCODE_LDI)
call avremu_r16out
ldi r16, hi8(OPCODE_LDI)
call avremu_r16out

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!