Output from C program (no blank lines before or after): 0 : -2 0xfffffffe 1 : 1 0x00000001 2 : 9 0x00000009 3 : 22 0x00000016 4 : 40 0x00000028 5 : 63 0x0000003f 6 : 91 0x0000005b 7 : 124 0x0000007c 8 : 162 0x000000a2 9 : 205 0x000000cd 10 : 253 0x000000fd Output from Y86 (registers can be different; memory contents should be as listed, though addresses and registers can be different): Stopped in 2094 steps at PC = 0x73. Status 'HLT', CC Z=0 S=1 O=0 Changes to registers: %eax: 0x00000000 0x000000fd %ecx: 0x00000000 0x00000032 %ebx: 0x00000000 0x0000000b %esp: 0x00000000 0x000000a0 %ebp: 0x00000000 0xffffffff %esi: 0x00000000 0x0000000a %edi: 0x00000000 0x0000000b Changes to memory: 0x0074: 0x00000000 0xfffffffe 0x0078: 0x00000000 0x00000001 0x007c: 0x00000000 0x00000009 0x0080: 0x00000000 0x00000016 0x0084: 0x00000000 0x00000028 0x0088: 0x00000000 0x0000003f 0x008c: 0x00000000 0x0000005b 0x0090: 0x00000000 0x0000007c 0x0094: 0x00000000 0x000000a2 0x0098: 0x00000000 0x000000cd 0x009c: 0x00000000 0x000000fd