How to respond to this error: #Error 02: Jump>128
How to respond to this error: #Error 02: Jump>128
目前我正在做一个装配项目。出于某种原因,我收到错误消息:
#Error 02: Jump>128.
代码段如下:
morechar:
.
.
.
cmp dl, 0D
je prep_for_write ;The error is given here
.
.
;Approximately 150 lines of code in-between
prep_for_write:
mov ax, 0
mov bx, 0
pop ax
cmp ax, 0
je print_zero
jmp write_stack
.
.
.
如何解决这个问题?
好吧,对于那些不想要花哨的解决方案的人:您可以简单地创建一个仅包含 jmp 语句的虚拟标签。就像:
source:
.
.
je dummy_label
.
.
dummy_label:
jmp target
.
.
.
target:
.
.
目前我正在做一个装配项目。出于某种原因,我收到错误消息:
#Error 02: Jump>128.
代码段如下:
morechar:
.
.
.
cmp dl, 0D
je prep_for_write ;The error is given here
.
.
;Approximately 150 lines of code in-between
prep_for_write:
mov ax, 0
mov bx, 0
pop ax
cmp ax, 0
je print_zero
jmp write_stack
.
.
.
如何解决这个问题?
好吧,对于那些不想要花哨的解决方案的人:您可以简单地创建一个仅包含 jmp 语句的虚拟标签。就像:
source:
.
.
je dummy_label
.
.
dummy_label:
jmp target
.
.
.
target:
.
.