Write a Little Man Computer program that accepts five random numbers from the user and displays them in ascending order. Attached is the Little Man Mnemonic Instruction Codes:

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter10: Application Development
Section: Chapter Questions
Problem 9VE
icon
Related questions
icon
Concept explainers
Question
100%

Write a Little Man Computer program that accepts five random numbers from the user and displays them in ascending order.

Attached is the Little Man Mnemonic Instruction Codes: 

Op Codes
Mnemonics
000
COB or HLT
1xx
ADD
2xx
SUB
3xx
STA
5xx
LDA
6xx
BR
7xx
BRZ
8xx BRP
901
IN
902
OUT
DAT
Description
Coffee break (or Halt)
Add
Subtract
Store
Load
Branch unconditional
Branch if zero
Branch if positive or zero
Input
Output
Data storage location
Transcribed Image Text:Op Codes Mnemonics 000 COB or HLT 1xx ADD 2xx SUB 3xx STA 5xx LDA 6xx BR 7xx BRZ 8xx BRP 901 IN 902 OUT DAT Description Coffee break (or Halt) Add Subtract Store Load Branch unconditional Branch if zero Branch if positive or zero Input Output Data storage location
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Operators
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L