{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

midterm_2 (09summer)

midterm_2 (09summer) - 1 1 June 2009 SYSC-3006 Midterm Exam...

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: 1 1 June 2009 SYSC-3006 Midterm Exam Page 4 of 7 C? , Quest10n2[8marks]°/2 3 4 S 6 73 l A BEQEE (D H (1) Convert the following decimal numbers to signed byte hexadecimal numbers. (a) 58 (b)—49 (c)—114 (d) 128 C) 0‘) 1L2: 0 <01);ng 0 0)) ma 0 2 32 O :2“ l 4- JLS 2 O l l 2.14. ‘ lPfi‘ ill} 0 llll 0 1'2 0 1 ‘30 130 , 2. 1 J. b O Jil| Qngk-o ”"010 2% I 33° llé‘ ’%o ‘9’ 3° ' l ' 1, 32M: 0 I "" ° J-o‘llloolob lag/cl E 00H|010£ 4%.: 00” OOOIl) “4 ‘1000H0l :00001000 ooc fig L 1 l—z—" I ‘ '5 A k V + [[00 I I? + l :. O 20 i] ”L ,[MA:lOOO HlOb .4901: [loo llll U . :CH/ (2) With the segment = 0864 calculate the offset value for the absolute address = 0865Bh. 0354* lo= 0864 0 h + set 50 (£159 Yes 0255 6€€5€§t= absolute OMMYQSS’ Segmentxm 25—; _ 03754 05 ii L/ ’9 W (3) Explain why the following instructions are legal or illegal. C ‘ 66(591 Value : 000 l B ’1 (a)MOV [BX],1 legal. WW “I” into ’le aJLlYQSS "Elocation ”BX”. X 57?L. (b)SUB_ [11,[21 illegal. gmwwj dross cannot minus MWWMJ/Yess. (/ (c)ADD AX, OFFh légall “OFFh” is less than 2 bytes and CM be p atoll will “AX”, anal the wait cull be m ”AX ”. 7 1/ ...
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