User Tools

Site Tools


base:sign_extension

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

base:sign_extension [2015-04-17 04:33] (current)
Line 1: Line 1:
 +Convert a signed 8-bit number to a signed 16-bit number, with .Y holding the high byte:
  
 +<code asm> ldy #$00
 + lda value
 + bpl :+
 +  dey
 +:</​code>​
base/sign_extension.txt ยท Last modified: 2015-04-17 04:33 (external edit)