Nvis 5586A
Nvis Technologies Pvt. Ltd.
109
Program 4:
32- Bit Division.
Address
Opcode
Mnemonic
Comment
400
BA 00 00
MOV DX,0000
LOAD DIVIDEND TO DX
403
B8 FF FF
MOV AX,FFFF
LOAD TO AX
406
B9 FF FF
MOV CX, FFFF
LOAD DIVISOR TO CX
408
F7 F1
DIV CX
40B
88 26 50 04
MOV [450],AH
LOAD RESULT TO 450 RAM LOCATION
40F
88 06 51 04
MOV [451],AL
LOAD RESULT TO 451 RAM LOCATION
413
88 36 52 04
MOV [452],DH
LOAD RESULT TO 452 RAM LOCATION
417
88 16 53 04
MOV [453],DL
LOAD RESULT TO 450 RAM LOCATION
41B
F4
HLT
HALT
Input:
Dividend:
DX = 0000
AX = FFFF
Divisor: CX = FFFF
Result:
450 & 451 = 0001
452 & 453 = 0000
Summary of Contents for 5586A
Page 2: ...Nvis 5586A Nvis Technologies Pvt Ltd 2...
Page 23: ...Nvis 5586A Nvis Technologies Pvt Ltd 23 Memory Read Timing in Maximum Mode...
Page 30: ...Nvis 5586A Nvis Technologies Pvt Ltd 30...
Page 48: ...Nvis 5586A Nvis Technologies Pvt Ltd 48 Diagram of module RESET power Instruction Set Note...