Hello everyone
# ld([Y,Xpp], OUT) ld [y,x++],out
What does 'x++' mean?
If there's a code like that, what is happening?
As I think,
1. RAM [YYYYYYYYXXXXXXXX] is loaded to the OUT register
2. X register incremented
is it right?
For example, if each register value and the codes are like that;
X: 0000 0010
Y: 0000 1000
RAM 0x0208: 0000 1111
RAM 0x0209: 1111 0000
ld([Y,Xpp], OUT)
ld([Y,Xpp], 'Temp')
1. OUT register value changed: 0000 1111
2. X register incremented: X: 0000 0011
3. 'Temp' register value changed: 1111 0000
4. X register incremented: X: 0000 0100
Is it right?
I'm a student and English is not my mother tongue and I'm not good at writing English
Please help me!!!
What does 'Xpp' mean?
Forum rules
Be nice. No drama.
Be nice. No drama.
Re: What does 'Xpp' mean?
That's correct Xpp is a post increment of X, the increment happens after the operation
Re: What does 'Xpp' mean?
Ah yes, Xpp is also X++. The pp part is "plus plus," so post-increment X.