HW 2
HW 2
Homework 2
ELE 413
Q1) From a memory location starting at 2030h, 100 signed data are fetched and checked.
Write a program (include comments) below to find: How many of these data are negative
numbers less than FAh and also D2 bit 0 then display the result at port 20h after the
program terminates.
Q2) Complete the following code to check the Auxilary Carry (AC) in the space provided
after the following code as a result of addition. If AC is set as the result of addition go to
label Back: otherwise go to a label End: (don’t worry about where these labels actually are).
Do not use any PUSH or POP statements!. Your solution should be very much dependent on
the code given below.