Convert a signed 8-bit number to a signed 16-bit number, with .Y holding the high byte: ldy #$00 lda value bpl :+ dey :