Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2010-11

Difference between S_L and S_IL topsize

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Joshua Phillips

Hello.

I'm trying to understand fpc's assembler's internals. In fpcsrc/compiler/i386/cpubase.inc the enumertaion topsize is defined. The elements S_B, S_W, S_L and S_Q correspond to byte, word, longword and quadword. The elements S_IB, S_IW, S_IL and S_IQ also seem to correspond to those sizes. What's the difference between the S_* and S_I* elements?

Thanks.

Reply by email

Florian Klaempfl
to Joshua Phillips
Joshua Phillips wrote 8 lines
Hello. I'm trying to understand fpc's assembler's internals. In fpcsrc/compiler/i386/cpubase.inc the enumertaion topsize is defined. The elements S_B, S_W, S_L and S_Q correspond to byte, word, longword and quadword. The elements S_IB, S_IW, S_IL and S_IQ also seem to correspond to those sizes. What's the difference between the S_* and S_I* elements?

S_I* is used by the assembler reader and indicates an explicit size description (e.g. the dword prt part in mov dword ptr l,eax)

Reply by email