01b0 32ffff4b 9f123456 000001a0 fffff1ff a what sic

Info icon This preview shows pages 3–4. Sign up to view the full content.

View Full Document Right Arrow Icon
01B0 32FFFF4B 9F123456 000001A0 FFFFF1FF (a) What SIC integer is stored beginning at 01A6 ? FFFFFE = -2 (b) What are the 4 ASCII characters beginning at 01AB ? 50333630 = “P360” (c) What SIC/XE instruction is stored beginning at 01B3 ? 4B9F1234 (nixbpe = 111001) +JSUB to (X)+F1234 = F1239 (d) What does the instruction at 01A0 do? 69100001 (nixbpe = 010001) LDB # so 1 is loaded into register B 2. For the SIC/XE dump 01A0 69100001 54FFFFFF FE434F50 33363031 01B0 32FFFF4B 9F123456 000001A0 FFFFF1FF Assume "STUFF" in the symbol table has value 01B9. What value will load into register A for each of the following: (a) LDA STUFF: 0001A0 (b) LDA #STUFF: 0001B9 (c) LDA @STUFF: 691000 (d) +LDA #STUFF: 0001B9
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
3. For the SIC/XE dump A=000000 X=000005 L=000000 B=000005 S=FFFFFF T=FFFFFF P=00000D CC=LT 01A0 69100001 54FFFFFF FE434F50 33363031 01B0 32FFFF4B 9F123456 000001A0 FFFFF1FF What value will load into register A if the next instruction to be fetched (assumed to be at address 00000D , the location given by P is: (a) 0001A0 (simple SIC: address is 1A0 ) value = 691000 (b) 0381A0 (SICXE: (X)+ disp = 5 + 1A0 = 1A5 ) nixbpe = 111000 value = FFFFFF (c) 0141A0 (SICXE: immed base rel = (B) + disp nixbpe = 010100 value = 5 + 1A0 = 1A5 (d) 0321A3 (SICXE: PC rel: (P) + 3 + 1A3 = 1B3 nixbpe = 110010 value = 4B9F12 (instruction is at address 00000D ; after instruction fetch, the PC will be X’10’ = (P) + 3 ) (e) 0328A3 (SICXE: PC rel: (P) + 3 + 8A3 FFF8B3 nixbpe = 110010 value = addressing error Negative displacement negative address
Image of page 4
This is the end of the preview. Sign up to access the rest of the 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