Last active
October 16, 2019 07:56
-
-
Save akyoto/493a2af4013bd25f430ad8d5ae7da769 to your computer and use it in GitHub Desktop.
cpu-registers.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Register sizes | |
-------------- | |
================ rax (64 bits) | |
======== eax (32 bits) | |
==== ax (16 bits) | |
== ah (8 bits) | |
== al (8 bits) | |
Register purpose | |
---------------- | |
AX multiply/divide, string load & store | |
CX count for string operations & shifts | |
DX port address for IN and OUT | |
BX index register for MOVE | |
SP points to top of stack | |
BP points to base of stack frame | |
SI points to a source in stream operations | |
DI points to a destination in stream operations |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment