Indicate the value loaded into the registers (R30, R31, R20) in the following program: (For Atmega 128
Fantastic news! We've Found the answer you've been seeking!
Question:
Indicate the value loaded into the registers (R30, R31, R20) in the following program: (For Atmega 128 Microprocessor)
.ORG 0x0
.EQU DATA_ADDR = (OUR_DATA<<1)
LDI R30, LOW(DATA_ADDR)
LDI R31, HIGH(DATA_ADDR)
LPM R20, Z
.ORG 0x100
OUR_DATA: .DB 20, ’A’, ’C’
Related Book For
Quantitative Methods for Business
ISBN: 978-0324651751
11th Edition
Authors: David Anderson, Dennis Sweeney, Thomas Williams, Jeffrey cam
Posted Date: