2016-05-01から1ヶ月間の記事一覧

自作エミュレータで学ぶx86アーキテクチャ 3.2

(use gauche.uvector) (define-class <registers> () ((eax :init-keyword :eax :init-value 0) (ecx :init-keyword :ecx :init-value 0) (edx :init-keyword :edx :init-value 0) (ebx :init-keyword :ebx :init-value 0) (esp :init-keyword :esp :init-value 0) (ebp</registers>…

自作エミュレータで学ぶx86アーキテクチャ 2.3

自作エミュレータで学ぶx86アーキテクチャを読んでます。 この本ではあらかじめc言語で書かれているエミュレータのプログラムを元に 解説していくのですが、理解を深めるためにgaucheでエミュレータを作成しています。 (use gauche.uvector) (define-class <registers> </registers>…