Users browsing this thread: 1 Guest(s)
Making a Weapon Deal 2x Damage to a New Monster Type
Good little detailed tutorial!
There's only a small thing that seems not really on point:
The accumulator remains unaltered from the BIT operation. It's like an AND that doesn't affect A and the result is stored in Z (like you say after) and not in A.
There's only a small thing that seems not really on point:
(01-30-2016, 09:45 PM)ReturnerScum Wrote: Technically, any matches of bits from the compared byte versus the BIT operation in the A register results in a "1" bit in the byte of the A register. So all 1s that match go into the A register byte.
The accumulator remains unaltered from the BIT operation. It's like an AND that doesn't affect A and the result is stored in Z (like you say after) and not in A.
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)