Write a complete little man program to input numbers until


Problem

In Little Man Program Language! The instructions are below!

Write a complete little man program to input numbers until 0 is reached. for each imput number, if its greater than or equal to the number to the first number add it to one sum. If it is less than the first number, add it to a second sum. When finished output the sums

The instructions are:

Load - LDA - 5xx

Store - STA - 3xx

Add - ADD - 1xx

Subtract - SUB - 2xx

Input - INP - 901

Output - OUT - 902

End - HLT - 000

Branch if zero - BRZ - 7xx

Branch if zero or postive BRP - 8xx

Branch always - BRA - 6xx.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a complete little man program to input numbers until
Reference No:- TGS02779548

Expected delivery within 24 Hours