Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get EXEs fully loaded and initialized! #448

Merged
merged 32 commits into from
Mar 24, 2021
Merged

Get EXEs fully loaded and initialized! #448

merged 32 commits into from
Mar 24, 2021

Conversation

paladine
Copy link
Collaborator

  • Adds DAA and AAM instructions to support printf("%p")
  • Fixes XCHG bug related to xchg between reg & memory address
  • Fixed PSP to be 256 bytes before main program
  • Moved ENV_SEGMENT to be 4k before PSP

Fix some behavior of the ordinals.
@paladine paladine requested a review from enusbaum March 24, 2021 01:03
var al = Registers.AL;
var imm = _currentInstruction.Immediate8;

Registers.AH = (byte)(al / imm);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use imm? Intel Docs say it's always divided by 10

image

@enusbaum enusbaum merged commit 34fce32 into master Mar 24, 2021
@enusbaum enusbaum deleted the tapatch5 branch April 16, 2021 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants