Improve formatting of various elements

Couldn't think of a better commit message
This commit is contained in:
Joscha 2019-11-06 15:59:08 +00:00
parent 8f9b082eb4
commit 5fdbf2fbd2
4 changed files with 76 additions and 15 deletions

View file

@ -63,7 +63,7 @@ data Instruction
deriving (Show, Eq)
instance ToText Instruction where
toText (SmallInstruction oc addr) = toText oc <> " " <> toText addr
toText (SmallInstruction oc addr) = toText oc <> " 0x" <> addrToHex addr
toText (LargeInstruction oc) = toText oc