0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

x86レジスタ

Last updated at Posted at 2019-12-13

x86は8個の汎用レジスタと6個のセグメントレジスタ、1個のフラグレジスタ、1個の命令ポインタを持っている。

汎用レジスタの4個は、4通りのアクセス方法。

64ビットアクセス: RAX、RCX、RDX、RBX
32ビットアクセス: EAX、ECX、EDX、EBX
16ビットアクセス: AX、CX、DX、BX
8ビットアクセス: AL、CL、DL、BL、AH、CH、DH、BH

あと4個は、2通りのアクセス方法がある。

32ビットアクセス: ESP、EBP、ESI、EDI
16ビットアクセス: SP、BP、SI、DI

6個のセグメントレジスタ

SS : スタックセグメント。
CS : コードセグメント。
DS : データセグメント。
ES : エクストラセグメント。
FS : Fセグメント。
GS : Gセグメント。

以上。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?