Assignment8.md 6/12/2022 CSE324 Embedded Systems Assignment 8 Mohamed Yasser Abdeen 120190031 1. C1 → 0010 0000 C2 → 0110 1111 C3 → 0001 0100 R20 → (0011 0100)2 = (34)16 2. B is a correct instruction, but not immediate addressing mode. C is an incorrect instruction and not immediate addressing mode 3. 4. LDI R20, 0xFF ; value LDI R30, 0x80 CLR R31 LOAD: ST Z+, R20 CPI R30, 0x90 BRNE LOAD INF: RJMP INF .MACRO FUNCTION LDI R2@0, 20 * @0 + 5 ; the result is found in R2x .ENDMACRO FUNCTION 8 ; Result in R28 /