-
Notifications
You must be signed in to change notification settings - Fork 3
Math Functions
Preform unsigned 32-bit by 16-bit multiplication using only 16-bit registers.
- IN:
DX:AX, BX
= Multiplicand, Multiplier - OUT:
DX:AX
= Product
Preform signed 32-bit by 16-bit multiplication using only 16-bit registers.
- IN:
DX:AX, BX
= Multiplicand, Multiplier - OUT:
DX:AX
= Product
Preform unsigned 32-bit by 32-bit multiplication using only 16-bit registers.
- IN:
DX:AX, CX:BX
= Multiplicand, Multiplier - OUT:
DX:CX:BX:AX
= Product
Preform signed 32-bit by 32-bit multiplication using only 16-bit registers.
- IN:
DX:AX, BX
= Multiplicand, Multiplier - OUT:
DX:CX:BX:AX
= Product
Preform unsigned 32-bit by 16-bit divison using only 16-bit registers.
- IN:
DX:AX, BX
= Dividend, Divisor - OUT:
DX:AX
= Quotient
Preform signed 32-bit by 16-bit divison using only 16-bit registers.
- IN:
DX:AX, BX
= Dividend, Divisor - OUT:
DX:AX
= Quotient
Preform unsigned 32-bit by 32-bit divison using only 16-bit registers.
- IN:
DX:AX, CX:BX
= Dividend, Divisor - OUT:
DX:AX
= Quotient
Preform signed 32-bit by 32-bit divison using only 16-bit registers.
- IN:
DX:AX, CX:BX
= Dividend, Divisor - OUT:
DX:AX
= Quotient
Preform unsigned 64-bit by 64-bit divison using only 16-bit registers.
- IN:
DS:SI, ES:DI
= Dividend (ptr to quad word), Divisor (ptr to quad word) - OUT:
DX:CX:BX:AX
= Quotient
Preform unsigned 32-bit by 16-bit addition using only 16-bit registers.
- IN:
DX:AX, BX
= First addend, Second addend - OUT:
DX:AX
= Sum
Preform signed 32-bit by 16-bit addition using only 16-bit registers.
- IN:
DX:AX, BX
= First addend, Second addend - OUT:
DX:AX
= Sum
Preform unsigned 32-bit by 32-bit addition using only 16-bit registers.
- IN:
DX:AX, CX:BX
= First addend, Second addend - OUT:
DX:AX
= Sum
Preform signed 32-bit by 32-bit addition using only 16-bit registers.
- IN:
DX:AX, CX:BX
= First addend, Second addend - OUT:
DX:AX
= Sum
Preform unsigned 64-bit by 64-bit addition using only 16-bit registers.
- IN:
DS:SI, ES:DI
= First addend (ptr to quad word), Second addend (ptr to quad word) - OUT:
DX:CX:BX:AX
= Sum
Preform unsigned 32-bit by 16-bit subtraction using only 16-bit registers.
- IN:
DX:AX, BX
= Minuend, Subtrahend - OUT:
DX:AX
= Diffrence
Preform signed 32-bit by 16-bit subtraction using only 16-bit registers.
- IN:
DX:AX, BX
= Minuend, Subtrahend - OUT:
DX:AX
= Diffrence
Preform unsigned 32-bit by 32-bit subtraction using only 16-bit registers.
- IN:
DX:AX, CX:BX
= Minuend, Subtrahend - OUT:
DX:AX
= Diffrence
Preform signed 32-bit by 32-bit subtraction using only 16-bit registers.
- IN:
DX:AX, CX:BX
= Minuend, Subtrahend - OUT:
DX:AX
= Diffrence
Preform unsigned 64-bit by 64-bit subtraction using only 16-bit registers.
- IN:
DS:SI, ES:DI
= Minuend (ptr to quad word), Subtrahend (ptr to quad word) - OUT:
DX:CX:BX:AX
= Diffrence