gcincl.1 726 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. ;;
  2. ;; Clu garbage collector - macros and symbols used throughout
  3. ;;
  4. define $die msg/
  5. .value [asciz `
  6. : msg 
  7. `]
  8. termin
  9. ;;
  10. ;; Symbols to use in .call's
  11. ;;
  12. carg== move ;; regular argument
  13. clarg== setz ;; last argument
  14. ciarg== movei ;; immediate argument
  15. cliarg==setzi ;; last argument, immediate
  16. cval== movem ;; regular value
  17. clval== setzm ;; last value
  18. cerr== moves ;; error
  19. clerr== setzb ;; last error
  20. ccnt== movs ;; control
  21. cicnt== movsi ;; immediate control
  22. ;;
  23. ;; Other symbols
  24. ;;
  25. pglog2= 10. ;; log base 2 of page size
  26. pgsize= 1024. ;; page size
  27. ;;
  28. ;; Register names
  29. ;;
  30. r0== 0 ;; eight temporary registers
  31. r1== 1
  32. r2== 2
  33. r3== 3
  34. r4== 4
  35. r5== 5
  36. r6== 6
  37. r7== 7
  38. sp== 16 ;; stack pointer
  39. br== 17 ;; BLT register