Question: (c.) What is an assembler language and what are the advantages of using one in comparison to machine code? (6 marks) (d.)The Little Man model

(c.) What is an assembler language and what are the advantages of using one in comparison to machine code? (6 marks) (d.)The Little Man model of a computer system uses a single-digit op-code and 2-digit memory addressing and has the following instructions defined where the address portion is shown as Op. Code Description 1xx 2xx Add value in memory to accumulator Subtract value in memo Store accumulator value to memo Load value in memory to accumulator Branch to memory location Branch on positive to memory location Branch on negative to memory location Input from In-tray to accumulator Output to out-tray from accumulator Halt ry from accumulator 5xx 6xx 7xx 8xx 901 902 0xx Write a program using the above machine code to read 2 numbers which are input to the in- basket, and display the difference between them as a positive number in the out-basket. Comment every instruction. (12 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
