Continued adding 0
This commit is contained in:
10
src/Main.elm
10
src/Main.elm
@ -395,19 +395,17 @@ viewCu model =
|
||||
, p []
|
||||
[ text
|
||||
("Programm Counter: "
|
||||
++ String.fromInt model.pc.programmCounter
|
||||
++ addLeadingZero model.pc.programmCounter 3
|
||||
)
|
||||
]
|
||||
, p []
|
||||
[ text
|
||||
("Instruction Register: "
|
||||
++ String.fromInt model.pc.instructionReg
|
||||
)
|
||||
[ text "Instruction Register: "
|
||||
, viewInstrEntry model.pc.instructionReg
|
||||
]
|
||||
, p []
|
||||
[ text
|
||||
("µCode Counter: "
|
||||
++ String.fromInt model.pc.uCounter
|
||||
++ addLeadingZero model.pc.uCounter 4
|
||||
)
|
||||
]
|
||||
, div [ class "scroller" ]
|
||||
|
Reference in New Issue
Block a user