flat assembler
Message board for the users of flat assembler.
Index
> Main > Label effective address. |
Author |
|
decard 18 Oct 2004, 17:12
use
Code: lea cx,[my_label] my_label: Remember that you can't give a name "label" - it is a reserved word. |
|||
18 Oct 2004, 17:12 |
|
Matrix 27 Oct 2004, 06:31
peixe wrote: Should I use offset (mov cx,offset label)? In this case gives the same error... How can I get the address of a label? hy peixe, if you wanna use the offset word you can use this code otherwise you don't need it in fasm Code: org 256 offset equ mov cx,offset flat_label int 20h flat_label: db 'akármi$' |
|||
27 Oct 2004, 06:31 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.