Question: Q 1 . ( 6 POINTS ) Write some code to COUNT the number of characters in an input line. Q 2 . ( 1
Q POINTS Write some code to COUNT the number of characters in an input line.
Q POINTS Write assembly code for each of the following decision structures.
A IF
THEN
Put in
ELSE
Put in
ENDIF
longrightarrow
B Suppose DL contains the ASCII code of a character
IF DL A AND DL
THEN
Display DL
ENDIF
Q POINTS Write assembly code for each of the following structures:
a Change the sign bit of
b Multiply the value of by
c Assuming AL has a value less than convert it to a decimal character.
Q POINTS Write a program to read two capital letters, and display them on the next line in alphabetical order.
Q POINTS Suppose DH contains and contains What are the values of and after the instruction.
SHL DHCL ; is executed.
Q POINTS Suppose that EEEEh, and Give the contents of AXBXCXDX and SP after executing the following instructions:
PUSH AX
ADD BX
PUSH BX
POP CX
PUSH CX
POP AX
XCHG AXDX
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
