ACK assembler

ACK assembler

Post by Jason Palme » Mon, 19 Oct 1998 04:00:00



I tried compiling the following code in ACK for i386:

.sect .text; .sect .rom; .sect .data; .sect .bss
.extern _main

.sect .text
_main:
        lea     si, Str

.sect .data
Str:    .asciz  "hello\n"

and got an expr syntax error on the lea line, and an expr syntax/bad
operand error on the Str: line. Does anyone know how to make this work?
Or how to use labels in the data segment, get their addresses, etc.?
Thanks.

-Jason Palmer