I tried compiling the following code in ACK for i386:
.sect .text; .sect .rom; .sect .data; .sect .bss
lea si, Str
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.?