mirror of
https://github.com/open-simh/simtools.git
synced 2026-02-25 16:31:04 +00:00
Extend left-shift operator
- Negative shift values are right-shift - Optimize shift of 0 or more than 15 - Allow shifting symbols by complex relocation
This commit is contained in:
committed by
Olaf Seibert
parent
93d7839ccf
commit
05fc94ce90
@@ -24,7 +24,8 @@ five = 5
|
||||
a: .word 123 _ 3 ; 001230
|
||||
.word five _ 6 ; 000500
|
||||
.word 101_five ; 004040
|
||||
.word a _ 3 ; Invalid expression
|
||||
.word 177400 _ -8. ; 000377
|
||||
.word a _ 3 ; Complex relocation
|
||||
|
||||
.word - 377 ; 177401
|
||||
.word + 377 ; 000377
|
||||
|
||||
Reference in New Issue
Block a user