summaryrefslogtreecommitdiff
path: root/cpu/instructions/arithmetic/signed_multiply.txt
blob: 8f5a8ac9303fca27dfa1737eeb4f7870921d7b4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Number of parameters: 4

Usage:
	signed_multiply <overflow> <result> <value0> <value1>

Effect:
	Performs the signed multiplication <value0>*<value1>, storing the integer result in <result> and any overflowing bits into <overflow>

Exceptions:
	None

Flags:
	Sets the overflow flag if <overflow>:<result> != <result>
	Carry flag is never set