LDX

created by Cugel the clever
(thing) by Cugel the clever (1.1 wk) (print)   (I like it!) Tue Aug 15 2000 at 16:16:49
A 3-letter opcode for the 6502 processor. It is one of the most frequently used operations. This opcode loads an 8-bit value in the X register. It can then, for example, be transferred to the Accumulator by using the TXA instruction.

Back to the 6502 opcodes metanode

(thing) by yerricde (11.3 mon) (print)   (I like it!) Sat Mar 31 2001 at 23:37:19
A 6502 instruction that loads a new value into the X register.
  • Function: N => X
  • Updates flags: S . . . . . Z .
  • Opcode numbers:
    imm   $A2
    dp    $A6
    d,y   $B6
    abs   $AE
    a,y   $BE
    

Similar: LDA | LDY | STX
See also: 6502 instructions | 6502 addressing modes

Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.