mirror of
https://github.com/tuz358/cpu-emulator.git
synced 2025-12-18 04:54:36 +03:00
Update README.md
This commit is contained in:
18
README.md
18
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
|
||||
|
||||
Reference in New Issue
Block a user