-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First steps in adding Silicon Labs CIP-51 to the 8051 language files #7320
Conversation
…h addrress space and extend SFR address space to two byte. Conditionalized definition of SFR space so that CIP51 gets 2 bytes (Intel MCS51 uses 1 byte) and add IFLASH address space to CIP51.
Retains for now the 8051 "default" compiler, adding a "stub" (that is, commented-out) compiler definition for Keil Cx51 and commenting out (preparatory to eventually deleting) the line for the Archimedes compiler that Keil bought out and obsoleted.
…nto language_files
For CIP-51 follow convention of lower-case filenames While I was at it, normalized indentation of "manualindexfile" items.
Abide by lowercase filename convention. Make the slafile name match the name of this variant. Make this version 1.0 of the cip-51 language.
Removed SFRs not in CIP-51, renamed several holdovers from 8051, added comment annotations to SFRs on Page 0 and on All Pages.
Still need to compare to what I have at home
First
Then it leads to a runtime error:
But this leads to a build error:
|
Per github comment by @jobermayr, added cip-51.pspec and keil-cx51.cspec
Add CIP51 to conditional that determines definition of GROUP1, GROUP2, GROUP3
Need to add cip-51.slaspec as well
@jobermayr pointed out this missing file in original PR
Made changes via github.com that I believe should resolve these. Also added cip-51.slaspec tp certification.manifest. I appreciate your input, @jobermayr |
New build error:
|
I believe these changes have already been merged |
No: https://github.com/NationalSecurityAgency/ghidra/commits/master/Ghidra/Processors/8051 |
8051.ldefs
, and for this variant specifically:cx51.cspec
is complete8051_main.sinc
added internal flash address space and expanded SFR address space, both conditionalized on CIP51,cx51.cspec
towards implementing Keil's Cx51 calling convention.