標準化 Forth 組合語言描述

147 views
Skip to first unread message

燕南

unread,
Apr 18, 2019, 11:50:00 PM4/18/19
to 符式協會
\ 標準化 Forth 組合語言描述

\ imn 要處理的資料位元數宣告(不指定時 依照系統預定(cell))

CODE AND.imn ( imn1 imn2 -- imn ) \ Bitwise AND.

  POP.imn WP.imn, [DSP]   \ [DSP]->WP,DSP+imn/byte->DSP (LDR WP,[DSP],#-imn/byte)
 
  AND.imn TOS.imn, WP.imn \ TOS&WP->TOS ( AND TOS,WP)

END-CODE


Label:

$0 or $ 0

$0: or $: 0
Reply all
Reply to author
Forward
0 new messages