S A M P L E Quiz #8 Name ___________________ Honor Code________________________ Section _____ A. Do a trace for the program shown below left using the column headings shown below center. Assume that the user enters a 2, then a 24, and then a 17 when input is requested. Show at least the statement # for each statement actually executed. | # CF AX SUM COUNT | # CF AX SUM COUNT | ? ? 0 0 | | | 7 41 1 in ax | 1 2 | | | 8 1 2 copy count,ax | 2 2 | | | 9 0 3 #L0 cmp ax,#c1 | 3 NB | | |10 0 4 jb #L1 | 4 | | |11 5 in ax | 5 24 | | | 3 B 6 add ax,sum | 6 24 | | | 4 7 copy sum,ax | 7 24 | | |12 41 8 copy ax,count | 8 2 | | |13 9 sub ax,#c1 | 9 1 | | |14 10 copy count,ax |10 1 | | | 11 jmp #L0 |11 | | | 12 #L1 copy ax,sum | 3 NB | | | 13 out ax | 4 | | | 14 halt | 5 17 | | | 31 #c1 1 | 6 41 | 32 count 0 33 sum 0 CONTINUE IN RIGHT COLUMN ABOVE B. Some true/false or short answer question(s) regarding architecture e.g.: True/False 1) Modern processors may have more than one accumulator TRUE 2) The flags register is used to keep a backup copy of the accumulator FALSE