6.1 Register Conventions

The compiler has dierent register conventions, depending on the target processor used; some of the registers have specic uses during the code generation. The following section describes the generic names of the registers on a platform per platform basis. It also indicates what registers are used as scratch registers, and which can be freely used in assembler blocks.


  6.1.1 accumulator register
  6.1.2 accumulator 64-bit register
  6.1.3 oat result register
  6.1.4 self register
  6.1.5 frame pointer register
  6.1.6 stack pointer register
  6.1.7 scratch registers
  6.1.8 Processor mapping of registers
    Intel 80x86 version
    Motorola 680x0 version