emailler/ip65/icmp_c.s
2018-02-23 16:36:05 +01:00

19 lines
220 B
ArmAsm

.include "../inc/common.inc"
.export _icmp_ping
.import icmp_echo_ip
.import icmp_ping
.importzp sreg
_icmp_ping:
stax icmp_echo_ip
ldax sreg
stax icmp_echo_ip+2
jsr icmp_ping
bcc :+
ldx #$00
txa
: rts