/programs/develop/mtdbg/gui.inc |
---|
105,7 → 105,10 |
push eax |
fstcw word [esp] |
or word [esp], 3 shl 10 ; set round-to-zero mode |
pop eax |
and ax, not (3 shl 10) |
or ax, 1 shl 10 ; set round-to-minus infinity mode |
push eax |
fldcw word [esp] |
pop eax |
734,6 → 737,9 |
stosd |
stosd |
;int3 |
;nop |
mov edx, ebp |
shl edx, 4 |
770,7 → 776,6 |
jmp .display |
.decode: |
fld tword [_st0+edx] |
fldlg2 |
fld tword [_st0+edx] |
783,6 → 788,9 |
fist dword [.exp_v] |
fld st0 |
fbstp tword [.bcd_exp] |
push 8 |
fisub dword [esp] |
pop eax |
fldl2t |
fmulp |
fld st0 |
796,7 → 804,6 |
fscale |
fstp st1 |
fdivp |
fimul dword [_10000000] |
fbstp tword [.bcd_man] |
lea esi, [.bcd_man-1] |
/programs/develop/mtdbg/mtdbg.asm |
---|
2333,14 → 2333,14 |
db '-YMM6-' |
db '-YMM7-' |
align 4 |
debuggee_pid dd 0 |
bSuspended db 0 |
bAfterGo db 0 |
temp_break dd 0 |
reg_mode db 1 |
_10000000 dd 1000000000 |
include 'disasm_tbl.inc' |
reg_table: |