TITLE "Demo of SMAL" ; by: Doug Jones ; for: Computer Organization ZERO = 0 ; a silly definition ONE = ZERO + 2#1 W ZERO ; zero W ONE ; one (one more than zero) W 3#2 ; two (in base 3) W #4 ; four(in base 16) W 5,6; five, six (badly formatted) H #ABCD,#EF01 B #01, #23, #45, #67 W X ; pointer to "this is text" W Y ; pointer to "this is more ..." X: ASCII "this is text" B 0 ; null terminator on string B Y - X Y = . ASCII "this is more text",0 B Z - Y Z = . END