我有这样一行代码:
asm
...
jmp @jmp_data
@s1: dw $1120,$1120,$1120,$4420,$0020,$0020,$0020,$1120,$1120,$1120,$4420,$0020,$0020,$0020,$1120,$1120,$1120,$4420,$0020,$0020,$0020,$1120,$1120,$1120,$4420,$0020,$0020,$0020;
@jmp_data:
...
end:
但是涡轮增压帕卡尔给出了错误11:行太长。
所以我尝试这样做:
jmp @jmp_data
@s1: dw $1120,$1120,$1120,$4420,$0020,$0020,$0020,$1120,$1120,$1120,$4420,$0020,
$0020,$0020,$1120,$1120,$1120,$4420,$0020,$0020,$0020,$1120,$1120,$1120,$4420,$0020,$0020,$0020;
@jmp_data:
但给出语法错误。
我在谷歌上搜索了这个,但我什么也没找到。
那么,如何在 Turbo pascal 中编写此代码呢?它必须是某种方式。
谢谢。。。
使用多个dw
指令:
@s1: dw $1120,$1120,$1120,$4420,$0020,$0020,$0020,$1120
dw $1120,$1120,$4420,$0020,$0020,$0020,$1120,$1120
dw $1120,$4420,$0020,$0020,$0020,$1120,$1120,$1120
dw $4420,$0020,$0020,$0020