This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GAS help


I have GAS and referring document on GAS for ".long"
help. 

I have code(ARM processor assembly code) which has
this ".long". I like to know what is meaning of this
".long" or ".int" and where should be used.

This is required because I want to compile code using
the "armasm" tool for ARM processor.
In the 'armasm' there is no as such ".long". I replace
with equivalent code for armasm.

Here is code:

ret_jumps:
        .long   ret_void        @; # this is invalid
and shouldn't get called
        .long   ret_void        @; # ENDFUNC shouldn't
get called
        .long   ret_void        @; # no void arguments
        .long   ret_s32         @; # int
        .long   ret_s16         @; # short
        .long   ret_u16         @; # char
        .long   ret_s64         @; # long
        .long   ret_s8          @; # byte
        .long   ret_f32         @; # float
        .long   ret_f64         @; # double
        .long   ret_u8          @; # bool
        .long   ret_obj
        .long   ret_void        @; # this is invalid
and shouldn't get called

arg_jumps:
        .long   arg_reload
        .long   args_done       @;# end-of-args
        .long   ret_void        @;# this is invalid
and shouldn't get called
        .long   arg_32          @;# int
        .long   arg_32          @;# short
        .long   arg_32          @;# char
        .long   arg_64          @;# long
        .long   arg_32          @;# byte
        .long   arg_32          @;# float
        .long   arg_64          @;# double
        .long   arg_32          @;# bool
        .long   arg_object
        .long   ret_void        @;# this is invalid
and shouldn't get called




Regards
Deepak


__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]