Mulscale: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
XTHX2 (talk | contribs)
No edit summary
Line 4: Line 4:
res=(eax*edx)>>ecx
res=(eax*edx)>>ecx


This is a math function which is implemented in assembler programing language because it make the calculation faster.
This is a math function which is implemented in assembler programing language because it makes the calculation faster.


[[Category:EDuke32 specific commands]]
[[Category:EDuke32 specific commands]]
[[Category:Gamevar manipulation]]
[[Category:Gamevar manipulation]]

Revision as of 03:21, 1 August 2008

mulscale <res> <eax> <edx> <ecx>

The formula is
res=(eax*edx)>>ecx

This is a math function which is implemented in assembler programing language because it makes the calculation faster.