laptest-tlm-20.lap 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. (LAP '(
  2. (FULLWORD 1)
  3. (*ENTRY FOO1 EXPR 1)
  4. (POPJ (REG ST) 0)
  5. ))
  6. (LAP '(
  7. (FULLWORD 1)
  8. (*ENTRY FOO2 EXPR 1)
  9. (HRRZI (REG 1) 1)
  10. (POPJ (REG ST) 0)
  11. ))
  12. (LAP '(
  13. (FULLWORD 1)
  14. (*ENTRY FOO3 EXPR 1)
  15. (HRRZI (REG 2) 3)
  16. (JRST (ENTRY PLUS2))
  17. ))
  18. (LAP '(
  19. (FULLWORD 1)
  20. (*ENTRY FOO4 EXPR 1)
  21. (HRRZI (REG 2) 4)
  22. (PUSHJ (REG ST) (ENTRY PLUS2))
  23. (JRST (ENTRY PRINT))
  24. ))
  25. (LAP '(
  26. (FULLWORD 1)
  27. (*ENTRY FOO5 EXPR 1)
  28. (CAIE (REG 1) 1)
  29. (JRST G0004)
  30. (MOVE (REG 1) L0001)
  31. (POPJ (REG ST) 0)
  32. G0004
  33. (MOVE (REG 1) L0002)
  34. (POPJ (REG ST) 0)
  35. L0002
  36. (FULLWORD (MKITEM 30 (IDLOC NOT-ONE)))
  37. L0001
  38. (FULLWORD (MKITEM 30 (IDLOC ONE)))
  39. ))
  40. (FLUID (QUOTE (FLU1 FLU2)))
  41. (LAP '(
  42. (FULLWORD 2)
  43. (*ENTRY FOO6A EXPR 2)
  44. (JSP (REG T5) (ENTRY FASTBIND))
  45. (HALFWORD 2 (IDLOC FLU2))
  46. (HALFWORD 1 (IDLOC FLU1))
  47. (MOVE (REG 3) ($FLUID FLU2))
  48. (MOVE (REG 2) ($FLUID FLU1))
  49. (MOVE (REG 1) L0003)
  50. (PUSHJ (REG ST) (ENTRY LIST3))
  51. (PUSHJ (REG ST) (ENTRY PRINT))
  52. (HRRZI (REG T1) 10)
  53. (MOVEM (REG T1) ($FLUID FLU1))
  54. (HRRZI (REG T1) 20)
  55. (MOVEM (REG T1) ($FLUID FLU2))
  56. (MOVE (REG 3) ($FLUID FLU2))
  57. (MOVE (REG 2) ($FLUID FLU1))
  58. (MOVE (REG 1) L0004)
  59. (PUSHJ (REG ST) (ENTRY LIST3))
  60. (PUSHJ (REG ST) (ENTRY PRINT))
  61. (MOVE (REG 1) (REG NIL))
  62. (JSP (REG T5) (ENTRY FASTUNBIND))
  63. (FULLWORD 2)
  64. (POPJ (REG ST) 0)
  65. L0004
  66. (FULLWORD (MKITEM 30 (IDLOC AFTER)))
  67. L0003
  68. (FULLWORD (MKITEM 30 (IDLOC BEFORE)))
  69. ))
  70. (LAP '(
  71. (FULLWORD 0)
  72. (*ENTRY FOO6 EXPR 0)
  73. (HRRZI (REG T1) 1)
  74. (MOVEM (REG T1) ($FLUID FLU1))
  75. (HRRZI (REG T1) 2)
  76. (MOVEM (REG T1) ($FLUID FLU2))
  77. (MOVE (REG 3) ($FLUID FLU2))
  78. (MOVE (REG 2) ($FLUID FLU1))
  79. (MOVE (REG 1) L0005)
  80. (PUSHJ (REG ST) (ENTRY LIST3))
  81. (PUSHJ (REG ST) (ENTRY PRINT))
  82. (MOVE (REG 2) L0006)
  83. (MOVE (REG 1) L0007)
  84. (PUSHJ (REG ST) (ENTRY FOO6A))
  85. (MOVE (REG 3) ($FLUID FLU2))
  86. (MOVE (REG 2) ($FLUID FLU1))
  87. (MOVE (REG 1) L0008)
  88. (PUSHJ (REG ST) (ENTRY LIST3))
  89. (PUSHJ (REG ST) (ENTRY PRINT))
  90. (MOVE (REG 1) (REG NIL))
  91. (POPJ (REG ST) 0)
  92. L0008
  93. (FULLWORD (MKITEM 30 (IDLOC AFTER)))
  94. L0007
  95. (FULLWORD (MKITEM 30 (IDLOC A)))
  96. L0006
  97. (FULLWORD (MKITEM 30 (IDLOC B)))
  98. L0005
  99. (FULLWORD (MKITEM 30 (IDLOC BEFORE)))
  100. ))