Jump to Absolute AddressLast reviewed: January 6, 1995Article ID: Q24965 |
The information in this article applies to:
SUMMARYThere are two methods of coding a jump to an absolute address. These methods are as follows:
MORE INFORMATIONThe following code demonstrates both methods: ; Assembly options needed: none ASEG SEGMENT BYTE AT 0000H
ORG 100far_label LABEL FAR
ASEG ENDSDATA SEGMENT WORD 'DATA'
FAR_VAR DW 100,0 DATA ENDSCODE SEGMENT BYTE 'CODE' ASSUME CS:CODE, DS:DATAstart: mov ax, data mov ds, ax JMP far_label ;This is the first type of jump. JMP DWORD PTR far_var ;This is the second type of jump.CODE ENDS END start
|
Additional reference words: 1.25 1.27 3.0x 4.00 5.00 5.10 5.10a 6.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |