2022-05-07 15:06:40 +00:00
|
|
|
%import math
|
2022-03-13 11:52:12 +00:00
|
|
|
|
2022-03-24 23:17:41 +00:00
|
|
|
; NOTE: meant to test to virtual machine output target (use -target vitual)
|
|
|
|
|
2021-10-30 13:15:11 +00:00
|
|
|
main {
|
2022-05-17 16:53:18 +00:00
|
|
|
sub start() {
|
2022-05-18 20:15:42 +00:00
|
|
|
byte xx
|
|
|
|
byte yy
|
|
|
|
ubyte ubx
|
2022-05-13 21:10:13 +00:00
|
|
|
|
2022-05-18 20:15:42 +00:00
|
|
|
xx = xx
|
|
|
|
xx = xx*9
|
|
|
|
xx = yy*9
|
|
|
|
xx = xx+3*yy
|
|
|
|
xx = xx/yy
|
|
|
|
xx = -xx
|
|
|
|
@($4000) = @($4000)
|
|
|
|
@($4000) = @($4000) + 2
|
|
|
|
xx = xx | yy
|
|
|
|
xx = xx & yy
|
|
|
|
xx = xx ^ yy
|
|
|
|
xx = (not xx) as byte
|
|
|
|
xx = (~xx) as byte
|
|
|
|
xx++
|
2022-05-07 15:06:40 +00:00
|
|
|
|
2022-05-18 20:15:42 +00:00
|
|
|
ubx = not ubx
|
|
|
|
ubx = ~ubx
|
2022-03-04 21:26:46 +00:00
|
|
|
}
|
2022-02-17 23:40:31 +00:00
|
|
|
}
|