You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The lines containing MY_SAVED_PC are not nessessary if the "structures" are defined at the beginning of the file and before the first .ORG directive belonging to your program.
If you want to reserve space for such a "structure" and initialize it with zero you may use fill:
my_var .fill my_struct@size
If you want to access elements of the data structure you can use:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
For offset calculation, you can fake them by misusing .ORG in connection with local labels. Example:
The lines containing
MY_SAVED_PC
are not nessessary if the "structures" are defined at the beginning of the file and before the first .ORG directive belonging to your program.If you want to reserve space for such a "structure" and initialize it with zero you may use fill:
If you want to access elements of the data structure you can use:
Beta Was this translation helpful? Give feedback.
All reactions