0

1. GIVEN THE DATA BELOW, DESIGN IA-32 INSTRUCTIONS
TO CONVERT THE BINARY STRING IN X TO AN UNSIGNED INTEGER
AND SAVE IT IN Y.


X BYTE "10110011"
Y DWORD ?


2. GIVEN THE DATA BELOW, DESIGN IA-32 INSTRUCTIONS
TO COUNT THE NUMBER OF 1'S IN X AND SAVE IT IN Y.

X DWORD 25974
Y WORD ?


3. GIVEN THE DATA BELOW, DESIGN IA-32 INSTRUCTIONS
TO CONVERT EACH UPPER CASE LETTER IN X TO LOWER CASE
AND EACH LOWER CASE TO UPPER CASE.
(HINT: 'A' = 65, 'a' = 97, 'Z' = 90, 'z' = 122)

X BYTE "Have a nice day"


4. GIVEN THE DATA BELOW, DESIGN IA-32 INSTRUCTIONS TO
COPY THE THIRD BYTE OF EACH NUMBER IN X TO Y.

X SDWORD -1000,1000,2000,-2000
Y BYTE 4 DUP (?)

2
Contributors
1
Reply
2
Views
9 Years
Discussion Span
Last Post by Ancient Dragon
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.