User Tools

Site Tools


base:sign_extension

Convert a signed 8-bit number to a signed 16-bit number, with .Y holding the high byte:

 ldy #$00
 lda value
 bpl :+
  dey
:
base/sign_extension.txt · Last modified: 2015-04-17 04:33 by 127.0.0.1