Professional Documents
Culture Documents
1
3. (a) Write an assembly language program that will output numbers
from 1 to 100 successively (Hints: Assume the port address of
keyboard =23H and monitor=75H). (8 marks)
(b) Differentiate between application and system programming. (6
marks)
4. (a) fprintf(stderr, “Hello, you are supplying wrong inputs!”); what is
the programmer targeting by writing the code above? (7 marks)
(b) What makes an operating system to become a network
operating system? (7 marks)
5. (a) Write an assembly language program to or the content of the
accumulator say 7BH with an immediate data say A3H and the
result should be displayed on the monitor(Hints: Assume the port
address of the monitor is 75H)? (6 marks)
(b) Draw two symbol table that will be generated by pass 1 module
if the program shown below is compiled:
3000 CLA
3010 ADI 20H
3020 ADI 50H
3030 HLT
(8 marks)
6. (a) Enumerate any advantage an interpreter is having over a
compiler? (8 marks)
(b) List any two advantages of spooling? (6 marks)
7. (a) What is Instruction cycle, list any four instruction cycle of
assembly language? (8 marks)
(b) List any four available flags in an Intel microprocessor and
state their basic functions? (6 marks)