Sign in to follow this  

[ASM] JMP Instruction

Recommended Posts

Hey guys, I'm fairly new to assembly and I am trying to understand the JMP instruction. When I assemble my code, I get my binary which looks like this: E9 F9 FE E9 is obviously the JMP instruction, and the fact that it's two bytes tells me that it's a 16 bit relative near jump. However, I'm not sure how F9 FE converts to a relative number.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this