change spec
This commit is contained in:
parent
2c20c7c859
commit
c95deefcb2
15
spec.md
15
spec.md
|
@ -249,12 +249,15 @@
|
||||||
- Program can be validaded either before execution or when executing
|
- Program can be validaded either before execution or when executing
|
||||||
|
|
||||||
# Traps
|
# Traps
|
||||||
| Name | Parameters | Cause |
|
Program should at least implement these traps:
|
||||||
|:-------------:|:----------------:|:--------------------------:|
|
- Environment call
|
||||||
| LoadAccessEx | Accessed address | Loading invalid address |
|
- Invalid instruction exception
|
||||||
| StoreAccessEx | Accessed address | Storing to invalid address |
|
- Load address exception
|
||||||
| InvalidOpcode | Loaded opcode | Executing invalid opcode |
|
- Store address exception
|
||||||
| Ecall | None | Ecall instruction |
|
|
||||||
|
and executing environment should be able to get information about them,
|
||||||
|
like the opcode of invalid instruction or attempted address to load/store.
|
||||||
|
Details about these are left as an implementation detail.
|
||||||
|
|
||||||
# Assembly
|
# Assembly
|
||||||
HoleyBytes assembly format is not defined, this is just a weak description
|
HoleyBytes assembly format is not defined, this is just a weak description
|
||||||
|
|
Loading…
Reference in a new issue