mirror of
https://github.com/catseye/SixtyPical.git
synced 2025-02-19 20:30:45 +00:00
25 lines
316 B
Plaintext
25 lines
316 B
Plaintext
reserve byte m_high
|
|
reserve byte m_low
|
|
reserve byte n_high
|
|
reserve byte n_low
|
|
|
|
routine compare_16_bit {
|
|
lda m_high
|
|
cmp n_high
|
|
if beq {
|
|
lda m_low
|
|
cmp n_low
|
|
} else {
|
|
}
|
|
}
|
|
|
|
routine compare_16_bit {
|
|
lda >m
|
|
cmp >n
|
|
if beq {
|
|
lda <m
|
|
cmp <n
|
|
} else {
|
|
}
|
|
}
|