Computers and Technology

Select the pseudo-code that corresponds to the following assembly code. assume that the variables a, b, c, and d are initialized elsewhere in the program. you may want to review the usage of eax, ah, and al (ia32 registers). also recall that the inequality a > b is equivalent to b < a. i. e. if a is greater than b, that's equivalent to saying that b is less than a. data ; general purpose variables a dword ? b dword ? c byte ? d byte ? upperlevel dword 18 lowerlevel dword 3 ; strings yes byte "yes",0 no byte "no",0 maybe byte "maybe",0 .code main proc mov eax, 1 cmp ah, c jg option1 jmp option3 option1: mov edx, offset yes call writestring jmp endofprogram option2: mov edx, offset no call writestring jmp endofprogram option3: mov edx, offset maybe call writestring endofprogram: exit main endp end main

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 22:00, luisanavarrogarcia
Which of the following statements correctly identifies a problem with sanitization methods? a. methods are not available to remove data ensuring that unauthorized personnel cannot retrieve data. b. even fully incinerated media can offer extractable data. c. personnel can perform sanitization steps improperly. d. stored data is physically etched into the media.
Answers: 1
image
Computers and Technology, 22.06.2019 06:30, lilpeepxliltracy
This technology is used to produce high-quality documents that look good on the computer screen and in print.
Answers: 1
image
Computers and Technology, 22.06.2019 11:00, abelxoconda
Which are examples of note-taking tools? check all that recording devices sticky notes digital highlighters paper flags highlighting pens digital displays digital flags
Answers: 1
image
Computers and Technology, 22.06.2019 12:10, tragesserj
1. declare a constant named cents_per_pound and initialize with 25. 2. get the shipping weight from user input storing the weight into shipweightpounds. 3. using flat_fee_cents and cents_per_pound constants, assign shipcostcents with the cost of shipping a package weighing shipweightpounds.
Answers: 2
Do you know the correct answer?
Select the pseudo-code that corresponds to the following assembly code. assume that the variables a,...

Questions in other subjects:

Konu
Geography, 29.06.2021 01:00