Difference between revisions of "83Plus:BCALLs:808D"

From WikiTI
Jump to: navigation, search
(Example)
(Comments)
Line 19: Line 19:
  
 
== Comments ==
 
== Comments ==
This B_CALL initializes the MD5 memory areas so that you can start generating a new MD5 checksum.
+
This B_CALL initializes the MD5 memory areas, after which you can use [[83Plus:BCALLs:8090|8090]] and [[83Plus:BCALLs:8018|8018]] to build up a complete MD5 hash.
  
 
== Example ==
 
== Example ==

Revision as of 19:22, 27 March 2005

Synopsis

Official Name: MD5Init

Other Name: InitializeMD5

BCALL Address: 808D

Initializes the md5 ram area

Inputs

None

Outputs

  • 8269: 8 bytes will be zero'ed
  • 8292: Loads the following bytes in this area 01h,23h,45h,67h,89h,ABh,CDh,EFh,FEh,DCh,BAh,98h,76h,54h,32h,10h

Destroys

None

Comments

This B_CALL initializes the MD5 memory areas, after which you can use 8090 and 8018 to build up a complete MD5 hash.

Example

B_CALL InitializeMD5
ld bc,0040h
ld hl,SomeAddress
B_CALL CalculateMD5
B_CALL FinishMD5