Skip to content

introduces z80 asm generator - #1

Open
nekkz wants to merge 4 commits into
mainfrom
chore/eagle_asm_z80
Open

introduces z80 asm generator#1
nekkz wants to merge 4 commits into
mainfrom
chore/eagle_asm_z80

Conversation

@nekkz

@nekkz nekkz commented Dec 7, 2024

Copy link
Copy Markdown
Collaborator
  • more freedom about how the translation is made, we could generalize if the idea is appreciated
  • I introduced a .gitignore file to filter out anoying stuff that we may never want to commit
  • access to Eagle::text_code seems far-fetched for now, but the generator won't generate text immediately, the text generation will be kept for a later phase in order to do some post optimisations when all the functions will be known. This is going to help a lot to manage B register and many more things.
  • We need to challenge the need to have references to variables that were in the Eagle class. I really don't like this hack.

 - allows for more freedom about how the translation is made
Comment thread src/Eagle.hpp

//Variable
typedef struct
typedef struct EagleVariable

@nekkz nekkz Dec 7, 2024

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I had to introduce a type, anonymous structs can't be forward declared in other headers. See EagleAsmZ80.hpp.

@nekkz
nekkz requested a review from Kannagi December 7, 2024 05:27
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