Question: Assembly language Computer Science 240 Assignment No.4 1. An interrupt is a signal sent by device to CPU to indicate need for service When an
Computer Science 240 Assignment No.4 1. An interrupt is a signal sent by device to CPU to indicate need for service When an interrupt occurred, the AX register will hold the following information : blank : 1 if math coprocessor installed, O otherwise Bit 2 Bit 1 Bits 3,4 : 0016GB RAM, 01=32GB RAM, 10=48GB RAM and 1-64GB RAM Bits 5,6 :00 Bits 7,8 : number of floppy drives plus one( 00 = one derive) Bit 9 Bits 10, 11,12: number of ports installed Bit 13 Bit 14 Bit 15,16 : number of printers installed(00-0 printer, 01=1 printer, ) :0 :1 if game adaptor is installed, O otherwise : 0 Suppose the content of AX register is 1100 1110 1001 1100 (i.e mov ax, 1100 1110 1001 1100b). Write an assembly program to determine: a. The number of printers connected to the computer b. The number of floppy drives c. The size of the RAM
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
