Computer Architecture

profilePoohny Bear
homework5.pdf

Assignment Homework #5 due 5/5(Tuesday) 11:59PM

• Total score is 15 Points

• Base point of student who submit is 5.

• Student who did not submit is 0 (no exception)

• Due date: 5.5.(Tuesday) 23:59

Homework#5 (1) Handwrite ( not typewrite) a sub3.asm in the following. // sub3.asm // RAM[11] = RAM[9] - RAM[10] ____________________________________________ ____________________________________________ ____________________________________________ __________________________________________ ____________________________________________ ____________________________________________ ____________________________________________ ____________________________________________

(2) Handwrite a Machine code for (1)

(3) Take a photo CPU.emulator SCREEN of this problem

(4) Convert followings to HACK machine code

@5 ……. ( )

M = D-M;JMP ……. ( )