Bug 224 - Small bug in 56k code generation
Summary: Small bug in 56k code generation
Alias: None
Product: RMAC
Classification: Unclassified
Component: Core (show other bugs)
Version: unspecified
Hardware: All All
: Normal normal
Assignee: Shamus Hammons
Depends on:
Reported: 2023-12-22 11:51 CST by ggn
Modified: 2023-12-22 11:53 CST (History)
1 user (show)

See Also:

The patches! (975 bytes, patch)
2023-12-22 11:53 CST, ggn

Note You need to log in before you can comment on or make changes to this bug.
Description ggn 2023-12-22 11:51:25 CST
This is when generating a short immediate value. According to the bug report I received:

ADC X,A #100,X0  -> generates "$246421"
ADC X,A #-100,X0 -> generates "$239c21"

The fix is very easy, and will be attached right now.
Comment 1 ggn 2023-12-22 11:53:12 CST
Created attachment 217 [details]
The patches!