2

我有这行代码:

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:

但是 turbo Pacal 给出错误 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 编写这段代码呢?它必须是某种方式。

感谢...

4

1 回答 1

4

使用几个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
于 2015-05-02T07:13:40.493 回答