Mirror of CollapseOS
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

17 lignes
464B

  1. ( Place BEGIN, where you want to jump back and AGAIN after
  2. a relative jump operator. Just like BSET and BWR. )
  3. : BEGIN, PC ;
  4. : BSET PC SWAP ! ;
  5. ( same as BSET, but we need to write a placeholder )
  6. : FJR, PC 0 A, ;
  7. : IFZ, JRNZ, FJR, ;
  8. : IFNZ, JRZ, FJR, ;
  9. : IFC, JRNC, FJR, ;
  10. : IFNC, JRC, FJR, ;
  11. : THEN,
  12. DUP PC ( l l pc )
  13. -^ 1- ( l off )
  14. ( warning: l is a PC offset, not a mem addr! )
  15. SWAP ORG @ + BIN( @ - ( off addr )
  16. C! ;