83Plus:BCALLs:80BD: Difference between revisions

From WikiTI
Jump to navigationJump to search
m i suck :P
Description/Inputs - make it sound less useless :P
 
Line 5: Line 5:
'''BCALL Address:''' 80BD
'''BCALL Address:''' 80BD


Sets A to zero.
Calculates the exlusive OR (XOR) of the value in register A with itself and puts the result back in A.


=== Inputs ===
=== Inputs ===
* None
* A = Number to be XOR'd with itself.


=== Outputs ===
=== Outputs ===

Latest revision as of 22:44, 12 April 2005

Synopsis

Official Name: XorA

BCALL Address: 80BD

Calculates the exlusive OR (XOR) of the value in register A with itself and puts the result back in A.

Inputs

  • A = Number to be XOR'd with itself.

Outputs

  • A = 0
  • Flags: Same as for the XOR A instruction.

Destroys

  • None.

Comments

This B_CALL is a complete waste of time.

Example

This B_CALL pretty much consists entirely of

 xor a
 ret