Write Little Man program that accepts an indefinite number of input values. The output value will be the largest of the input values. You should use the value 0 as a flag to indicate the end of the input.
You are required to use symbolic addressing as described in Lecture 6. Do not use any direct mailbox addressing.
Note: Write the pseudocode first to perform this task and then write the LMC code.

Leave a Reply

Your email address will not be published. Required fields are marked *