From 5ade090f1ab5f2549998efc4d9bf820c7d60193c Mon Sep 17 00:00:00 2001 From: tuz358 Date: Sat, 10 Mar 2018 18:16:55 +0900 Subject: [PATCH] Update README.md --- README.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bca9d04..bcdb9e2 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,27 @@ # cpu-emulator tiny x86 cpu emulator -## Usage - +## Installation ``` $ git clone http://github.com/tuz358/cpu-emulator.git $ cd ./cpu-emulator $ make +``` + +## Sample +``` $ ./cpu-emulator sample/fibonacci.bin +hlt called. +eax = 0x00000037 (55) +ecx = 0x00000000 (0) +edx = 0x00000015 (21) +ebx = 0x00000022 (34) +esp = 0x00000400 (1024) +ebp = 0x00000000 (0) +esi = 0x00000000 (0) +edi = 0x00000000 (0) +eip = 0x00000000 (0) +$ ``` ## Author