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.).student submitted image, transcription available below

QUESTION 2 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) di ZH, high(const<<1) pm jmp mainloop dseg var 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.) Segment value symbol dseg Var1 var3 dseg reset cseg Const cseg mainloop cseg

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 Databases Questions!