Realised that my bits and bytes per word were somewhat mixed up
This commit is contained in:
parent
c0ead7b5a8
commit
45db9cdd27
|
@ -181,8 +181,8 @@ emptyState = CompState {
|
||||||
csCurrentFile = "none",
|
csCurrentFile = "none",
|
||||||
csUsedFiles = Set.empty,
|
csUsedFiles = Set.empty,
|
||||||
csDefinitions = Map.fromList [("COMPILER.TOCK", PreprocNothing)
|
csDefinitions = Map.fromList [("COMPILER.TOCK", PreprocNothing)
|
||||||
,("TARGET.BITS.PER.WORD", PreprocInt $ show cIntSize)
|
,("TARGET.BITS.PER.WORD", PreprocInt $ show $ cIntSize * 8)
|
||||||
,("TARGET.BYTES.PER.WORD", PreprocInt $ show $ cIntSize `div` 8)
|
,("TARGET.BYTES.PER.WORD", PreprocInt $ show cIntSize)
|
||||||
-- ,("TARGET.HAS.FPU", PreprocNothing)
|
-- ,("TARGET.HAS.FPU", PreprocNothing)
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user