Fix memory dump legend
This commit is contained in:
parent
a3f2c05875
commit
d9d8f4e0b9
1 changed files with 2 additions and 2 deletions
|
|
@ -43,8 +43,8 @@ memoryToWords :: MimaMemory -> [MimaWord]
|
||||||
memoryToWords mem = map (\addr -> readAt addr mem) $ addressRange mem
|
memoryToWords mem = map (\addr -> readAt addr mem) $ addressRange mem
|
||||||
|
|
||||||
addrWordLegend :: T.Text
|
addrWordLegend :: T.Text
|
||||||
addrWordLegend = "UO: Upper Opcode (bits 24-21) LO: Lower Opcode (bits 20-17)\n"
|
addrWordLegend = "SO: Small Opcode (bits 23-20) LO: Large Opcode (bits 19-16)\n"
|
||||||
<> "Addr (decimal) - Word ( decimal|UO,LO, Addr) - Instruction\n"
|
<> "Addr (decimal) - Word ( decimal|SO,LO, Addr) - Instruction\n"
|
||||||
|
|
||||||
addrWordToText :: MimaAddress -> MimaWord -> T.Text
|
addrWordToText :: MimaAddress -> MimaWord -> T.Text
|
||||||
addrWordToText addr word =
|
addrWordToText addr word =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue