https://github.com/chadhietala/encode-decode
WIP Encoder and Decoder For Glimmer
https://github.com/chadhietala/encode-decode
Last synced: 5 months ago
JSON representation
WIP Encoder and Decoder For Glimmer
- Host: GitHub
- URL: https://github.com/chadhietala/encode-decode
- Owner: chadhietala
- Created: 2017-08-24T05:42:27.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-25T04:22:08.000Z (over 8 years ago)
- Last Synced: 2025-02-10T08:23:07.501Z (11 months ago)
- Language: HTML
- Size: 61.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Encoder/Decoder
### Installing
```
yarn
```
### Running
```
yarn build
open index.html
```
### Testing
```
yarn test
```
## Layout: 16 bit aligned Uint16
First 16-Bit Integer is reserved for the opcode type a flag to indicate the number of operands.
| Unused | Op Size | Type |
|--------|----------|--------|
| 4-bits | 4-bits | 8-bits |
Depending on the op size there will be 0 - 3 operands that follow of which are 16-bit integrers.