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

Improve stdlib #97

Merged
merged 13 commits into from
Oct 27, 2024
Merged

Improve stdlib #97

merged 13 commits into from
Oct 27, 2024

Conversation

pointbazaar
Copy link
Owner

No description provided.

The testcase was disabled but seems to be working.

Signed-off-by: Alexander Hansen <[email protected]>
The frame pointer could have been changed by the function that was
called. Since it is using YL:YH also for it's frame pointer.

So the frame pointer needs to be restored after a call.
This example is for the atmega328p.

It's showing how to transmit increasing numbers and how to configure the
USART peripheral.

It's been tested with logic analyzer and USART protocol decoder but not
yet connected to an actual USART receiver / usb to serial converter.
This incomplete implementation just looks if the temporary
for the value being returned is wide.

It can be completed by also checking the with of the type of the value being returned.
This needs to be expanded further and put into all LOAD/STORE
IR instructions.
create a redzone in memory to detect unintended writes around the target
address.
new wrapper function to simplify reading a value from 2 adjacent
registers.
also test 16 bit values for TAC_STORE_CONST_ADDR
test 16 bit values for TAC_LOAD_CONST_ADDR
Copy link

netlify bot commented Oct 27, 2024

Deploy Preview for espl1000 ready!

Name Link
🔨 Latest commit 4f4a09f
🔍 Latest deploy log https://app.netlify.com/sites/espl1000/deploys/671e30ce0f238000088385d7
😎 Deploy Preview https://deploy-preview-97--espl1000.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Owner Author

@pointbazaar pointbazaar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@pointbazaar pointbazaar merged commit 30188bc into master Oct 27, 2024
12 checks passed
@pointbazaar pointbazaar deleted the improve-stdlib branch October 27, 2024 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant