Question: Consider the following AVR Assembly Language Code which is passed through an assembler. .include m324Adef.inc jmp RESET .dseg var1: .BYTE 3 var2: .BYTE 2 .cseg
Consider the following AVR Assembly Language Code which is passed through an assembler. .include "m324Adef.inc" jmp RESET .dseg var1: .BYTE 3 var2: .BYTE 2 .cseg const: .DB 0xAA, 0xCC, 0xDD reset: ldi ZL, low(var1) ldi ZH, high(var1) ldi r17, 0xBB st Z, r17 ldi ZL, low(const<<1) ldi ZH, high(const<<1) lpm jmp mainloop .dseg var3: .BYTE 4 .cseg .org 0x20 mainloop: ldi r20, 0xF0 ... Determine the segments and values of each of the following symbols. (Enter the segment as either "cseg" or "dseg" - without the quotes. Enter the values as decimal integers.).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
