NASM Forum > Using NASM

Label OFFSET

(1/1)

Alfonso V:
Is there any way to get the label offset into a constant?.

I have next code:

ORG 100h
section .text
[...]

section .data
Array:
  DW 0
  DW 4000
  DW 2400
  DW -100

section .bss
  %define L Array + 2   ;

Alfonso V:
Excuse me, erase "section .bss" from this code

:-)

Navigation

[0] Message Index

Go to full version