Skip to content

How to call a relative address? #341

Answered by wtfsck
marcussacana asked this question in Q&A
Discussion options

You must be logged in to vote

If you're using the Assembler C# class you can just call call(Label) and put the label after the call instruction. But since you say you can't use labels, you can just add the bytes yourself with db(0xE8,0,0,0,0)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@marcussacana
Comment options

Answer selected by marcussacana
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants