Uploaded 10_30_2022

This commit is contained in:
MicroCoreLabs 2022-10-30 12:55:57 -07:00
parent a60daa4912
commit 9fb2749ea3
2 changed files with 25 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -22,6 +22,10 @@
// Revision 2.0 8/20/2022
// Fixed accidental clearing of prefix override for all string opcodes
//
// Revision 3.0 10/30/2022
// For 0xF6 opcodes CF/OV flags were always being cleared which is incorrect for NOT
// Moved these flag clears to IDIV and DIV which need them cleared
//
//
//------------------------------------------------------------------------
//
@ -185,6 +189,8 @@
#
#
#
#
#
# Stop CPU
p 00 00000 00010 0001
p 01 00000 00010 0000
@ -16837,10 +16843,10 @@ p 01 00000 00001 0DF4
#
# -----------------------------------------------------
#
# Clear the CF, and OF Flags
# NOP
p 00 00000 00001 0E12
p 01 00000 00001 488F
p 01 00000 00001 F7FE
p 01 00000 00001 0000
p 01 00000 00001 0000
#
# CALL CALC_EA_BYTE
p 00 00000 00001 0E13
@ -16904,7 +16910,7 @@ p 01 00000 00001 0E30
# DIV REG8/MEM8
p 00 00000 00001 0E1E
p 01 00000 00001 1000
p 01 00000 00001 0E63
p 01 00000 00001 0E52
#
# IDIV REG8/MEM8
p 00 00000 00001 0E1F
@ -17172,7 +17178,16 @@ p 01 00000 00001 1000
p 01 00000 00001 0F70
#
#
# Clear the CF, and OF Flags
p 00 00000 00001 0E52
p 01 00000 00001 488F
p 01 00000 00001 F7FE
#
#
# Jump unconditional to DIV opcode:
p 00 00000 00001 0E53
p 01 00000 00001 1000
p 01 00000 00001 0E63
#
#
# -----------------------------------------------------
@ -17182,10 +17197,10 @@ p 01 00000 00001 0F70
# -----------------------------------------------------
#
#
# NOP
# Clear the CF, and OF Flags
p 00 00000 00001 0E54
p 01 00000 00001 0000
p 01 00000 00001 0000
p 01 00000 00001 488F
p 01 00000 00001 F7FE
#
# Kick off clock cycle counter here. Check for it to be zero at the end of the routine.
# Write clock count=106 to the BIU Dataout register. - Minimum of 106 clocks for IDIV8