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

[request] output local labels in symbol table #33

Open
antis81 opened this issue May 23, 2021 · 0 comments
Open

[request] output local labels in symbol table #33

antis81 opened this issue May 23, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@antis81
Copy link
Contributor

antis81 commented May 23, 2021

Currently local symbols are not added to the symbol file (or stdout). A use case for this is a memory layout describing a static object:

!section "world", start=0x0, NoStore=true
world:  ; can we define a world[0]?
  ; rotation parameters
  .rmatrix: !fill 3*3, 0
  .rmatrix_size = *-1
  .rot_x: !byte 0
  .rot_y: !byte 0
  .rot_z: !byte 0
  ;…
  .size = *-world 
  .end = *-1

Symbol table output:

world = $0
;the local labels do not appear in output symbol table 
world.rot_rmatrix = $0
world.rot_x = $9
world.rot_y = $a
world.rot_z = $b
;…
@sasq64 sasq64 added the enhancement New feature or request label May 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants