// heap命令サンプル＆テスト

!set_var_heap_address,address
!set_var_heap,heap_value

&heap_set
&heap_set_1,address2
&heap_set_2,address3,123

!set_var_heap_address,address2
&heap_get2reg
!set_var_heap_address,address3
&heap_get2var

!move_var_reg_tmp_1st_from_reg
!move_var_heap_2reg
!move_var_reg_tmp_2nd_from_reg

&heap_get_1_2var,address2
&heap_get_1_2reg,address3

&heap_dump

&stop
