-
Notifications
You must be signed in to change notification settings - Fork 16
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
Align odd #25
Comments
You may align on even address then use +1 to be odd ALIGN 2 : NOP ; same as 'align odd' Or you can use dedicated instruction for array inc/dec optimisation => CONFINE You need to "run" in a 5 bytes array? => CONFINE 5 Then Rasm will garantee you that the array will not cross over MSB change |
Thank you Edouard. |
yes, documentation is often delayed cons available functionnalities :) take a look at https://github.com/sikorama/rasm-doc/issues (in french) and to be specific => sikorama/rasm-doc#14 |
Nice!
Merci beaucoup Edouard!
From: Edouard BERGE
Sent: Tuesday, June 28, 2022 9:24 AM
To: EdouardBERGE/rasm
Cc: Henri MEDOT ; Author
Subject: Re: [EdouardBERGE/rasm] Align odd (Issue #25)
yes, documentation is often delayed cons available functionnalities :)
take a look at https://github.com/sikorama/rasm-doc/issues (in french)
and to be specific => sikorama/rasm-doc#14
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hi,
Is there a way to align code on an odd address?
AFIK, there is no "Align odd".
I would need it for a self modifying code, e.g.:
my_smc: ld de,0x10F0 ; 11 F0 10
If this line was odd aligned, F0 10 would be even aligned,
and I could navigate between the 2 addresses with INC L/DEC L instead of INC HL/DEC HL.
Do you know a way to achieve that?
The text was updated successfully, but these errors were encountered: