Question: 2. Convert the following assembly code to binary by hand using the instruction table in the end of the 273 booklet. You must use the

2. Convert the following assembly code to binary by hand using the instruction table in the end of the 273 booklet. You must use the little endian in representing the low and high bytes at each program memory location.

FUN: LDI R16, 200

LDI R19, 15

BACK: LDI R18, 25

SUB R19, R18

HERE: NOP

DEC R18

INC R19

BRNE HERE

DEC R16

BRNE BACK

RET

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!