Update README.md

This commit is contained in:
tuz358
2018-03-10 18:16:55 +09:00
parent fb49fcfea5
commit 5ade090f1a

View File

@@ -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