mirror of
https://github.com/remko/waforth
synced 2024-12-27 09:59:29 +01:00
UNUSED: Fix returning in cells instead of address units
This commit is contained in:
parent
322c22f0f7
commit
fb25416734
2 changed files with 9 additions and 9 deletions
|
@ -1923,7 +1923,7 @@
|
||||||
;; [6.2.2395](https://forth-standard.org/standard/core/UNUSED)
|
;; [6.2.2395](https://forth-standard.org/standard/core/UNUSED)
|
||||||
(func $UNUSED (param $tos i32) (result i32)
|
(func $UNUSED (param $tos i32) (result i32)
|
||||||
(local.get $tos)
|
(local.get $tos)
|
||||||
(call $push (i32.shr_s (i32.sub (i32.const 0x6400000 (; = MEMORY_SIZE ;)) (global.get $here)) (i32.const 2))))
|
(call $push (i32.sub (i32.const 0x6400000 (; = MEMORY_SIZE ;)) (global.get $here))))
|
||||||
(data (i32.const 0x20970) "\60\09\02\00" "\06" "UNUSED " "\aa\00\00\00")
|
(data (i32.const 0x20970) "\60\09\02\00" "\06" "UNUSED " "\aa\00\00\00")
|
||||||
(elem (i32.const 0xaa) $UNUSED)
|
(elem (i32.const 0xaa) $UNUSED)
|
||||||
|
|
||||||
|
|
|
@ -304,15 +304,15 @@ T{ MAX-INT MAX-INT 0 WITHIN -> TRUE }T
|
||||||
T{ MAX-INT MAX-INT 1 WITHIN -> TRUE }T
|
T{ MAX-INT MAX-INT 1 WITHIN -> TRUE }T
|
||||||
T{ MAX-INT MAX-INT MAX-INT WITHIN -> FALSE }T
|
T{ MAX-INT MAX-INT MAX-INT WITHIN -> FALSE }T
|
||||||
|
|
||||||
\ \ -----------------------------------------------------------------------------
|
\ -----------------------------------------------------------------------------
|
||||||
\ TESTING UNUSED (contributed by James Bowman & Peter Knaggs)
|
TESTING UNUSED (contributed by James Bowman & Peter Knaggs)
|
||||||
|
|
||||||
\ VARIABLE UNUSED0
|
VARIABLE UNUSED0
|
||||||
\ T{ UNUSED DROP -> }T
|
T{ UNUSED DROP -> }T
|
||||||
\ T{ ALIGN UNUSED UNUSED0 ! 0 , UNUSED CELL+ UNUSED0 @ = -> TRUE }T
|
T{ ALIGN UNUSED UNUSED0 ! 0 , UNUSED CELL+ UNUSED0 @ = -> TRUE }T
|
||||||
\ T{ UNUSED UNUSED0 ! 0 C, UNUSED CHAR+ UNUSED0 @ =
|
T{ UNUSED UNUSED0 ! 0 C, UNUSED CHAR+ UNUSED0 @ =
|
||||||
\ -> TRUE }T \ aligned -> unaligned
|
-> TRUE }T \ aligned -> unaligned
|
||||||
\ T{ UNUSED UNUSED0 ! 0 C, UNUSED CHAR+ UNUSED0 @ = -> TRUE }T \ unaligned -> ?
|
T{ UNUSED UNUSED0 ! 0 C, UNUSED CHAR+ UNUSED0 @ = -> TRUE }T \ unaligned -> ?
|
||||||
|
|
||||||
\ \ -----------------------------------------------------------------------------
|
\ \ -----------------------------------------------------------------------------
|
||||||
\ TESTING AGAIN (contributed by James Bowman)
|
\ TESTING AGAIN (contributed by James Bowman)
|
||||||
|
|
Loading…
Reference in a new issue