Incomplete LMC Program MB# VAL 00 1. 01 2. 02 3. 03 4. 04 280 sub val on 80 05 06 901 input 3rd number (executes when 1s

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Incomplete LMC Program MB# VAL 00 1. 01 2. 02 3. 03 4. 04 280 sub val on 80 05 06 901 input 3rd number (executes when 1s

Post by answerhappygod »

Incomplete Lmc Program Mb Val 00 1 01 2 02 3 03 4 04 280 Sub Val On 80 05 06 901 Input 3rd Number Executes When 1s 1
Incomplete Lmc Program Mb Val 00 1 01 2 02 3 03 4 04 280 Sub Val On 80 05 06 901 Input 3rd Number Executes When 1s 1 (103.68 KiB) Viewed 10 times
Incomplete LMC Program MB# VAL 00 1. 01 2. 02 3. 03 4. 04 280 sub val on 80 05 06 901 input 3rd number (executes when 1st > 2nd) 07 382 store on loc 82 08 280 sub val on 80 16 17 18 19 20 21 22 09 6. 10 580 load 1st number 117. store largest(1 st number) 12 581 load 2nd number. 13 282 sub 3rd number input 1st number store on loc 80 23 24 mnemonics/comments input 2nd number store on loc 81 14 8. 15 582 load 3rd number 386 store mid 581 load 2nd number 25 26 branch if + when 2nd no. > 1st no. 29 9. 30 31 32 33 34 branch if + when 3rd no. > 1st no. 35 36 10. branch if + when 2nd no. > 3rd no. 387 store small 658 jump to 58 582 load 3rd number 385 store largest 3rd number) 27 580 load 1st number 28 281 sub 2nd number 387 store small 658 jump to 58 581 load 2nd number 386 store mid 582 load 3rd number branch if + when 2nd no. > 1st no. 580 load 1st number 386 store mid 581 load 2nd number 387 store small 658 jump to 58 581 load 2nd number store mid 37 580 load 1st number 38 387 store small 39 658 jump to 58 1st number is largest 3rd number is largest MB# 40 41 52 NAS 43 11. 44 45 46 47 48 12. 49 50 51 VAL mnemonics/comments 901 input 3rd number (executes when 2nd > 1st) 382 store on loc 82 53 281 sub val on 81 581 load 2nd number 385 store largest(2nd number) 582 load 3rd number 280 sub 1st number 54 55 56 57 13. 58 14. branch if + when 3rd no. > 2nd no. 580 load 1st number 386 store mid 582 load 3rd number 387 store small 658 jump to 58 (output) 582 load 3rd number 386 store mid 580 load 1st number store small 59 15. 60 16. 61 17 62 18. 63 19. 64 20. branch if + when 3rd no. > 1st no. COB 80 000 1ST NUMBER (DATA STORE) 81 000 2ND NUMBER (DATA STORE) 3RD NUMBER (DATA STORE) 82 000 85 000 86 000 87 000 LARGEST NUMBER (DATA STORE) MID NUMBER (DATA STORE) SMALLEST NUMBER (DATA STORE) 2nd number is largest OUTPUT
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply