This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
sizeof() in assembler
- From: Massimiliano Cialdi <cialdi at firenze dot net>
- To: binutils ML <binutils at sources dot redhat dot com>
- Date: Wed, 1 Sep 2004 09:28:26 +0200
- Subject: sizeof() in assembler
- Organization: Starfleet
I can define the size of an object:
.section .rodata
.align 1
str:
.ascii "+++***+++\r\n"
.size str, .-str
there exist something like sizeof(str) to retrive the size of object
str?
thanks
--
Massimiliano Cialdi
cialdi@firenze.net
m.cialdi@oksys.it