{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

IMG_0001 - The TAL Instruction Set(cont Machine Code...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: , The TAL Instruction Set (cont.) - Machine Code _ __ —-——.___________ -————__.__._____ 0000 0088 ssst tttt dddd 6000 0010 1010 R4, R,. R. if([R,] < [Rd), thean <— 031“ 1 else Rd <— 032 iflRsD < (“15116 ll Misha), then R: <- 031 ll 1 else R <— 032 PC 4- [PChms H [1111.0 ll 01‘ PC (— [R5] _ R31 ‘- [PC] + 4; PC <— [PCLLJK ll [1121.0 ll 02 ’ Rd <— [PC] + 4; PC 4—- [Rs] PC 4— ExceptionHandler PC <— ExceptionHandler restore state information Rt <- [Cmcpofl Cd(CPO) *- [R2] Rt <- [Fd(cm)] Fawn) <- [Rt] 0010 1055 ssst: tttt iiii 'iiii iiii iiii 0000 10ii iiii iiii iiii iiii iiii iiii 0000 003s $550 0000 0000 0000 0000 1000 0000 111i iiii iiii iiii iiii iiii iiii 0000 0035 sssO 0000 dddd d000 0000 1001 0000 0000 0000 0000 0000 0000 0000 1100 0000 00xx xxxx xxxx xxxx Oxxx xxOO 1101 0100 0010 0000 0000 000.0 0000 0001 0000 0100 0000 000t tttt dddd d000 0000 0000 0100 0000 100t tttt dddd d000 0000 0000 0100 0100 000t tttt dddd c1000 0000 0000 0100 0100 100t tttt dddd d000 0000 0000 sYscall break rfe General Notes (1) I specifies part of the instruction. (2) M[i] is the value ‘of the (aligned) word of memory beginning at location i. (3) m[i] is the value of the byte of memory at location i. (4) _ Rb, R4, R3, and R. specify general registers. R31 specifies register 31. (5) Cd specifies a control register (co—processor O). (6) F4 specifies a floating point register (co-processor 1). G4 and G, specify a floating point register in single-precision floating point format. W4 and W, specify a floating point register in two’s complement format. (7) 1| indicates concatenation of bit fields. (8) Superscripts indicate repetitions of a binary value. (9) Subscripts indicate bit positions (Little-Endian) of sub-field. (10) Square brackets () indicate “the contents of." ...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern