65c816: fix uputw()
authorAlan Cox <alan@linux.intel.com>
Tue, 26 Sep 2017 13:01:38 +0000 (14:01 +0100)
committerAlan Cox <alan@linux.intel.com>
Tue, 26 Sep 2017 13:01:38 +0000 (14:01 +0100)
Kernel/usermem_std-65c816.s

index d42934e..103745b 100644 (file)
@@ -192,9 +192,11 @@ __uputw:
        stx     ptr2+1
        jsr     popax
        phb
+       pha
        lda     U_DATA__U_PAGE
        pha
        plb
+       pla
        sta     (ptr2)
        txa
        ldy     #1