---
# Step-by-step
16: MoveA {mode = Long, src = Immediate 0, dst = DirectAddrReg A0} @_start
22: MoveA {mode = Long, src = IndirectAddrReg 0 A0 Nothing, dst = DirectAddrReg A0}
26: MoveA {mode = Long, src = Immediate 4, dst = DirectAddrReg A7}
32: MoveA {mode = Long, src = IndirectAddrReg 0 A7 Nothing, dst = DirectAddrReg A7}
36: Move {mode = Long, src = IndirectAddrReg 0 A0 Nothing, dst = DirectDataReg D0}
40: Move {mode = Long, src = DirectDataReg D0, dst = DirectDataReg D1}
42: Sub {mode = Long, src = Immediate 88, dst = DirectDataReg D1}
48: Beq {ref = 74}
54: Move {mode = Long, src = DirectDataReg D0, dst = DirectDataReg D1}
56: Sub {mode = Long, src = Immediate 89, dst = DirectDataReg D1}
62: Beq {ref = 86}
68: Move {mode = Long, src = DirectDataReg D0, dst = IndirectAddrReg 0 A7 Nothing}
72: Halt
72: -
---
# Result
numio[0x80]: [] >>> []
numio[0x84]: [] >>> [87]
numio[0x80]: "" >>> ""
numio[0x84]: "" >>> "W"
---
# Overview
## Execution statistics
sim:instruction-count: 13
mem:accesses-total: 23 (reads 22 / writes 1)
layout:sections-size: 98 (text 82 / data 16)
mem:instr-ranges: 0x10..0x49 (58 B)
mem:data-ranges: 0x00..0x07 (8 B)
mem:io-ranges: 0x80..0x87 (8 B)
## Memory layout
```
Kind Range Bytes Accessed Coverage
data 0x000..0x00f 16 0x000..0x007 50%
text 0x010..0x061 82 0x010..0x049 70%
x 0x062..0x07f 30 - 0%
io 0x080..0x087 8 0x080..0x087 100%
x 0x088..0xfff 3960 - 0%
```
## Memory accesses per instruction
```
Address Exec Read Write Instruction
0x010 1 2 0 MoveA {mode = Long, src = Immediate 0, dst = DirectAddrReg A0} @_start
0x016 1 2 0 MoveA {mode = Long, src = IndirectAddrReg 0 A0 Nothing, dst = DirectAddrReg A0}
0x01a 1 2 0 MoveA {mode = Long, src = Immediate 4, dst = DirectAddrReg A7}
0x020 1 2 0 MoveA {mode = Long, src = IndirectAddrReg 0 A7 Nothing, dst = DirectAddrReg A7}
0x024 1 2 0 Move {mode = Long, src = IndirectAddrReg 0 A0 Nothing, dst = DirectDataReg D0}
0x028 1 1 0 Move {mode = Long, src = DirectDataReg D0, dst = DirectDataReg D1}
0x02a 1 2 0 Sub {mode = Long, src = Immediate 88, dst = DirectDataReg D1}
0x030 1 2 0 Beq {ref = 74}
0x036 1 1 0 Move {mode = Long, src = DirectDataReg D0, dst = DirectDataReg D1}
0x038 1 2 0 Sub {mode = Long, src = Immediate 89, dst = DirectDataReg D1}
0x03e 1 2 0 Beq {ref = 86}
0x044 1 1 1 Move {mode = Long, src = DirectDataReg D0, dst = IndirectAddrReg 0 A7 Nothing}
0x048 1 1 0 Halt
```
/* comment */