Realised that my bits and bytes per word were somewhat mixed up

This commit is contained in:
Neil Brown 2009-04-03 20:19:48 +00:00
parent c0ead7b5a8
commit 45db9cdd27

View File

@ -181,8 +181,8 @@ emptyState = CompState {
csCurrentFile = "none",
csUsedFiles = Set.empty,
csDefinitions = Map.fromList [("COMPILER.TOCK", PreprocNothing)
,("TARGET.BITS.PER.WORD", PreprocInt $ show cIntSize)
,("TARGET.BYTES.PER.WORD", PreprocInt $ show $ cIntSize `div` 8)
,("TARGET.BITS.PER.WORD", PreprocInt $ show $ cIntSize * 8)
,("TARGET.BYTES.PER.WORD", PreprocInt $ show cIntSize)
-- ,("TARGET.HAS.FPU", PreprocNothing)
],