hexa:
    php
    sep #$20
    lda #$7e
    pha
    plb
    ldx #$0a00
    phx
    pld
    ldx #$0000
-
    lda sub_string,x
    beq +
    sta $00,x
    inx
    bra -
+
    ldy #$0a50
    ldx #$0000
    phy
    pld
-
    lda main_string,x
    cmp #$ff
    beq +
    sta $00,x
    inx
    bra -    
+    
    plp
    rts

 


 

Bài tiếp
Đây là bài mới nhất.
Bài trước
Older Post

0 bình luận :

Post a Comment

 
Top