diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2020-02-20 18:18:50 -0500 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2020-02-20 18:18:50 -0500 |
commit | 34b9bda535d475dd80fd70481fb7ba525b8c58bd (patch) | |
tree | 432202e64d1c943f46c0b2fee7402586e06d969b /programs/hex-to-bcd.s | |
parent | 63d5046ecabd5fd1524d3c4bc4590176c3b8a4eb (diff) |
Finished SuBAsm's screen editor.
Which I am now calling, SuBEditor.
Diffstat (limited to 'programs/hex-to-bcd.s')
-rw-r--r-- | programs/hex-to-bcd.s | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/programs/hex-to-bcd.s b/programs/hex-to-bcd.s deleted file mode 100644 index 53a3ff2..0000000 --- a/programs/hex-to-bcd.s +++ /dev/null @@ -1,7 +0,0 @@ -hex_to_bcd: - pla #1 ; Get argument. - div #10 ; Divide A by 10. - lsl #4 ; Shift the result left by 4 bits. - oab ; Or the result, with the remainder. - pha #1 ; Push the packed BCD result to the stack. - rts ; Return the result. |