Skip to content
Asmar Khalid edited this page Apr 1, 2014 · 6 revisions

Constants

  • true is the integer 1
  • false is the integer 0
  • null is the integer 0

Program Invariants

  • All expressions will return their 32-bit value in eax and the lvalue (if it exists) in edx
  • Ebx, Esi, and Edi are saved in the prologue
  • Parameters are passed left-to-right. All local variables are on the stack

Development

  • Helper (high-level) assembly functions can go into joos.codegen.generators package object
  • Common Library functions go in joos.codegen.generators.commonlib package object
Clone this wiki locally