[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: missing gas documentation: sparc registers
From: |
Nick Clifton |
Subject: |
Re: missing gas documentation: sparc registers |
Date: |
14 Nov 2002 16:38:01 +0000 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 |
Hi John,
> The documentation for the assembler does not contain any information
> about what the registers are called for the sparc architecture. It's
> hard for me to figure it out just from looking at the code.
Basically GAS supports the register naming convention that is used the
Sparc Instruction Set Architecture specification. So if you can
obtain a copy of that specification your should be able to be
determine the register names.
Scanning through the code, it appears that the following Sparc
register names are supported:
%g0 %g1 %g2 %g3 %g4 %g5 %g6 %g7
%o0 %o1 %o2 %o3 %o4 %o5 %sp %o7
%l0 %l1 %l2 %l3 %l4 %l5 %l6 %l7
%i0 %i1 %i2 %i3 %i4 %i5 %fp %i7
%f0 %f1 %f2 %f3 %f4 %f5 %f6 %f7
%f8 %f9 %f10 %f11 %f12 %f13 %f14 %f15
%f16 %f17 %f18 %f19 %f20 %f21 %f22 %f23
%f24 %f25 %f26 %f27 %f28 %f29 %f30 %f31
%f32 %f33 %f34 %f35 %f36 %f37 %f38 %f39
%f40 %f41 %f42 %f43 %f44 %f45 %f46 %f47
%f48 %f49 %f50 %f51 %f52 %f53 %f54 %f55
%f56 %f57 %f58 %f59 %f60 %f61 %f62 %f63
%c0 %c1 %c2 %c3 %c4 %c5 %c6 %c7
%c8 %c9 %c10 %c11 %c12 %c13 %c14 %c15
%c16 %c17 %c18 %c19 %c20 %c21 %c22 %c23
%c24 %c25 %c26 %c27 %c28 %c29 %c30 %c31
%asr0 %asr1 %asr2 %asr3 %asr4 %asr5 %asr6 %asr7
%asr8 %asr9 %asr10 %asr11 %asr12 %asr13 %asr14 %asr15
%asr16 %asr17 %asr18 %asr19 %asr20 %asr21 %asr22 %asr23
%asr24 %asr25 %asr26 %asr27 %asr28 %asr29 %asr30 %asr31
%canrestore %cansave %cleanwin %clear_softint
%cpsr %csr %cwp %dcr %fcc0 %fcc1 %fcc2 %fcc3
%fp %fpsr %fq %gsr %icc %npc %otherwin
%pc %pcr %pic %pil %psr %pstate %set_softint
%softint %sys_tick %sys_tick_cmpr %tba
%tbr %tick %tick_cmpr %tl %tnpc %tpc %tstate
%tt %ver %wim %wstate %xcc %y
Cheers
Nick