Recent content by L1lGh0sT
-
L
Little Man Computer- Find Max / Multiply two Numbers
This is one of the codes we came up with: BRA START ARRAY0 DAT 5 DAT 4 DAT 3 DAT 7 DAT 5 DAT 2 DAT 1 DAT 7 ARRAYINDEX DAT 1 LENGTH DAT 8 MIN DAT 0 ONE DAT 1 LOADINST DAT 501 START LDA ARRAY0 STA MIN LOOP LDA LOADINST ADD ARRAYINDEX STA LOADNEXT LDA ARRAYINDEX ADD ONE STA...- L1lGh0sT
- Post #4
- Forum: Engineering and Comp Sci Homework Help
-
L
Little Man Computer- Find Max / Multiply two Numbers
Homework Statement I'm currently learning the little man computer and Currently I'm working on two programs. On one of them, I have the code to find the minimum value in an array, however I have to modify that code in order to find the maximum value. What would I have to change? And for the...- L1lGh0sT
- Thread
- Computer Max Numbers
- Replies: 8
- Forum: Engineering and Comp Sci Homework Help