CSI 212 Midterm, Spring 2012
American University of Science and Technology · Computer Organization And Assembly · 6 pages · Dr. Abbas Tarhini
More CSI 212 files
- Chapter 1 Slides · Spring 2012ChapterView
- Chapter 2 Slides · Spring 2012ChapterView
- Chapter 3 Slides · Spring 2012ChapterView
- Chapter 4 Slides · Spring 2012ChapterView
- Chapter 5 Slides · Spring 2012ChapterView
- Chapter 6 Slides Part I · Spring 2012ChapterView
- Chapter 6 Slides Part II · Spring 2012ChapterView
- Chapter 7 Slides · Spring 2012ChapterView
Show the text of this exam
‘What will be the final value of wx after this code has executed?
mov esi, OF PSET varl
@ox, 4
eax, 100h
ax, 8
mov
mov
add — ax, [esi]
add
add esi, TYPE var!
4 usation #9 (49 points
oa aya OFA 22
oYm oy
a WORD eer. L2
worda WORD)
word) SWORD OPP meee,
word4 SWORD —doama
word! DWoRD 1% D0 Nem, ate,
Array HWwoRD DURE
Implenent the Hallo Wing @xpweestons im memes lamgremgpe. rp OE tte
May Mendify any registers you Wied)
e ax = Uword! +!ebx*ecx
' eax = -dwordl +(edx:- ecx) + 1
‘Language program to find the lowest and the highest value among 6
in the program, Output the original numbers using # loop.
‘Output the lowest and the highest value,
Hs o TABD to Ocul
oN 2BF ie w Decimal 4665: to Hexadecimal