Partial preview of the text
Download Financial management and more Assignments Computer Vision in PDF only on Docsity!
Y86 programmer-visible state i Y86 is an assembly language instruction set simpler than but similar to |A32; but not as compact (as we will see) The Y86 has: 4% 8 32-bit registers with the same names as the IA32 32-bit registers “ 3condition codes: ZF, SF, OF > nocarry flag - interpret integers as signed 4 a program counter (PC) » Holds the address of the instruction currently being executed “4 aprogram status byte: AOK, HLT, ADR, INS > State of program execution & memory: up to 4 GB to hold program and data (4096 = 2*12) RF: Program registers CC: Condition Stat: Program Status codes eax tesi ZF | SF| OF secx sedi DMEM: Memory %edx sesp = sebx sebp Looking ahead and comparing = Y86 is: @ Little endian * Load/store > Can only access memory on read/write > On move statements in Y86 2 Combination of CISC and RISC & Word = 4 bytes = 1A32 is: ® Little endian Y NOT load/store @ CISC ®” Byte (1 byte), word (2 bytes), long (4 bytes)