diff options
author | Dimitri Sokolyuk <demon@dim13.org> | 2017-05-26 10:19:39 +0200 |
---|---|---|
committer | Dimitri Sokolyuk <demon@dim13.org> | 2017-05-26 10:19:39 +0200 |
commit | eec661e44ac859ba651aa2f8cbc9fa6f7ba88220 (patch) | |
tree | e8a7ccdce040debeeade8d19923acd222a328395 /parse.go | |
parent | 03b912a7db63d213cbfd9a1cb35535759632642b (diff) |
...
Diffstat (limited to 'parse.go')
-rw-r--r-- | parse.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -46,7 +46,7 @@ type Instruction interface { type Lit uint16 -func newLit(v uint16) Lit { return Lit(v & 0x7fff) } +func newLit(v uint16) Lit { return Lit(v &^ uint16(1<<15)) } func (v Lit) String() string { return fmt.Sprintf("LIT %0.4X", uint16(v)) } func (v Lit) isInstruction() {} |