What does “short” jump mean in assembly language?

匿名 (未验证) 提交于 2019-12-03 01:47:02

问题:

What does the "SHORT" mean in this code?

JE SHORT 00013FB8 

回答1:

Short jumps (and near calls) are jumps whos target is in the same module(they are intramodular, however it is possible to get intermodular variants from certain hacks), they are most commonly up to 127 bytes of relative displacement(they change the flow of execution forward or backward from the address of the instruction), however there are 16bit variants offering 32k bytes. You don't really need to worry about it much, its really superfluos information, but the intel developer manuals(volumes 2a and 2b, specifically 2a) will cover the gory details



回答2:

It means that it isn't jumping very far. Depending on the disassembler, the number after that will either be the address that it jumps to or a relative offset which tells you how many bytes are between the next instruction and the target of the jump.



回答3:

short jump is in PC's boot, that means that 2-byte long assembly instruction tells processor to jump address 100h in BIOS to start booting.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!