logn.asm 280 B

12345678910
  1. #include once <stackf.asm>
  2. ;
  3. LN: ; Computes Ln(x) using ROM FP-CALC
  4. jsr __FPSTACK_PUSH ;- call __FPSTACK_PUSH
  5. ;- rst 28h ; ROM CALC
  6. .byte $20 ;- defb 20h ; 25h
  7. .byte $38 ;- defb 38h ; END CALC
  8. jmp __FPSTACK_POP ;- jp __FPSTACK_POP