程序代写代做代考 assembler PA4

PA4
DESIGN AND IMPLEMENTATION:
For both y86 emulator and disassembler, I first store the data into an array. Then check every line to decode. I use lot of if-else statement to decode the program. Y86emul and Y86dis are similar, the difference is that y86emul executes the instruction and y86dis just simply print out the instruction.
Challenge:
The biggest challenge is put instruction in to array and locate it.
To solve it, I have to print every line first to see whether I put correctly.