83Plus:BCALLs:80BD: Difference between revisions

From WikiTI
Jump to navigationJump to search
No edit summary
 
Description/Inputs - make it sound less useless :P
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:83Plus:BCALLs:By Name|XorA]][[Category:83Plus:BCALLs:By Name:Utterly_Useless|XorA]][[Category:83Plus:BCALLs:By Address|80BD - XorA]]
[[Category:83Plus:BCALLs:By Name|XorA]][[Category:83Plus:BCALLs:By Name:Utterly Useless|XorA]][[Category:83Plus:BCALLs:By Address|80BD - XorA]][[Category:83Plus:BCALLs:By Name:Math|XorA]]
== Synopsis ==
== Synopsis ==
'''Official Name:''' XorA
'''Official Name:''' XorA
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