Programming the z80 micro-processor to do a 16 bit divide function.
Can anyone help me? I am trying to program the z80 microprocessor to do a 16 bit divide function using positive or negative numbers in hex format. I wonder if i can compare notes using assembly language.
1. A number will be put into in 1900/1901 for the dividend.
2. A different or same number will be put into 1902/1903 for the divisor.
3. The quotient or results must be put into 1904/1905.
4. Print out the dividend, divisor and quotient (results) on the z80 printer. If the an answer can not be obtained (i.e. divide by 0 - or any other valid reason) print out the "ffff" ( which will mean error)
Can anyone help me, Please?
|All times are GMT +5.5. The time now is 05:11.|