/* Zniac II program "example.z" * Daniel Scharstein * * computes Z = X+Y * and stores Z in RAM at location 0x1f */ 00: 04 ld A, X 01: 45 add A, Y 02: 7f st A, Z 03: ff halt 04: 02 X: 2 05: 03 Y: 3 1f: Z:
Run your programs from part 1 by creating files "max.hex", "odd.hex", "mult.hex", and "runlong.hex" that contain your machine code in hex, and make sure they work correctly.
~schar/bin/submit202This will copy all files in your current directory and store them in my account. You can resubmit your files as many times as you want - only the newest submission will be kept. The final deadline for both paper and electronic submission is Monday, 2pm.
Have fun!