Fix the code so that it displays the value rslt, 12, isholding.
Assembly code: 1 2 3 4 5 / Add indirect 1 Code Section ORG 100 addi ptr 6 store rslt 7 output 8 halt 9 10 11 1 12 ptr, hex 105 //Location of val val. dec 12 1 / Data section /location start from 0x100 13 14 rsit, dec 0 15 end Autosaved file AC 000C IR 7000 MAR 103 MBR 7000 PC 104 IN 0000 OUT 000C Output log Assemble Step Microstep Step Back Halted Restart Delay: Input list Machine halted normally. +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +A +B +C +D +E +F 000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 010 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 020 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 030 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 040 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 050 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 060 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 RTL log OUTPUT MODE: 1 ms Watch list HEX ✓ 000C
Fix the code so that it displays the value rslt, 12, is holding.
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am