83Plus:BCALLs:41C2: Difference between revisions

From WikiTI
Jump to navigationJump to search
Changed official name, fixed formatting, changed A from destroyed to output, and fixed address (was 40C2 instead of 41C2)
m →Registers Destroyed: ==> Destroys; None ==> Nothing
 
Line 17: Line 17:
* Floating point zero stored to memory
* Floating point zero stored to memory


=== Registers Destroyed ===
=== Destroys ===
''None''
''Nothing''


== Example ==
== Example ==

Latest revision as of 17:42, 24 April 2005

Synopsis

Official Name: SetNum0

Other Name: OPSet0

BCALL Address: 41C2

Sets the ten bytes starting at address HL to a floating point zero.

Inputs

  • HL = address to copy a floating point zero to

Outputs

  • A = 0
  • HL = HL+9
  • Floating point zero stored to memory

Destroys

Nothing

Example

 ld     hl,8100h
 B_CALL OPSet0

After the BCALL:

 8100: 00 80 00 00 00 00 00 00 00 00