Skip to content
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

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

gtackett
Copy link
Contributor

@gtackett gtackett commented Dec 26, 2024

  • Added a variant called CIP-51 to 8051.ldefs, and for this variant specifically:
    • Added a commented-out compiler entry for Keil Cx51 compilers, to be un-commented out once cx51.cspec is complete
    • Pending possible removal of Archimedes C compiler entry, commented it out, Archimedes having been acquired over 20 years ago by Keil. (See 8051 language files trivia #5878)
  • In 8051_main.sinc added internal flash address space and expanded SFR address space, both conditionalized on CIP51,
  • Began work on cx51.cspec towards implementing Keil's Cx51 calling convention.

…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.
@ryanmkurtz ryanmkurtz self-assigned this Jan 5, 2025
@ryanmkurtz ryanmkurtz added Status: Prioritize This is currently being prioritized Feature: Processor/8051 labels Jan 5, 2025
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Processor/8051 Status: Prioritize This is currently being prioritized
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants