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 (?)

Now that you have posted your homework assignments, what are you asking from us ?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.