소스 검색

Add tests for MOVE* words

master
Virgil Dupras 3 년 전
부모
커밋
69bb34ce7b
1개의 변경된 파일13개의 추가작업 그리고 0개의 파일을 삭제
  1. +13
    -0
      tests/all/test_move.fs

+ 13
- 0
tests/all/test_move.fs 파일 보기

@@ -0,0 +1,13 @@
42 C, 43 C, 44 C,
H@ 3 - H@ 3 MOVE
H@ C@ 42 #eq H@ 1+ C@ 43 #eq H@ 2+ C@ 44 #eq
H@ H@ 1+ 3 MOVE ( demonstrate MOVE's problem )
H@ 1+ C@ 42 #eq H@ 2+ C@ 42 #eq H@ 3 + C@ 42 #eq
H@ 3 - H@ 3 MOVE
H@ H@ 1+ 3 MOVE- ( see? better )
H@ 1+ C@ 42 #eq H@ 2+ C@ 43 #eq H@ 3 + C@ 44 #eq

H@ ( ref )
H@ 3 - 3 MOVE,
( ref ) H@ 3 - #eq
H@ 3 - C@ 42 #eq H@ 2- C@ 43 #eq H@ 1- C@ 44 #eq

불러오는 중...
취소
저장