chiark / gitweb /
demonstrate SLOW_VERSION
authorian <ian>
Thu, 6 Jan 2005 19:31:38 +0000 (19:31 +0000)
committerian <ian>
Thu, 6 Jan 2005 19:31:38 +0000 (19:31 +0000)
cebpic/nmra-stream.asm
detpic/nmra-stream.asm

index 6d69a293d738c7712d6675abee27385c0c384291..a68947354b6bc4d4395d4fddc952e5a7dbb8b13d 100644 (file)
@@ -16,7 +16,19 @@ TOTRACK              equ     0x2     ; byte 2: to-track buffer location (in BSR5)
 TOTRACKBIT     equ     0x3     ; byte 3: bit location of pointer within byte
 
 
-
+       ifdef   SLOW_VERSION
+       messg   "hello this is the slow version"
+       endif
+
+       ifndef  SLOW_VERSION
+       messg   "hello this is the fast version"
+       endif
+
+       ifdef   SLOW_VERSION
+       messg   "with an if"
+       else
+       messg   "and an else"
+       endif
 
        org     0
        goto    initialise
index 6d69a293d738c7712d6675abee27385c0c384291..a68947354b6bc4d4395d4fddc952e5a7dbb8b13d 100644 (file)
@@ -16,7 +16,19 @@ TOTRACK              equ     0x2     ; byte 2: to-track buffer location (in BSR5)
 TOTRACKBIT     equ     0x3     ; byte 3: bit location of pointer within byte
 
 
-
+       ifdef   SLOW_VERSION
+       messg   "hello this is the slow version"
+       endif
+
+       ifndef  SLOW_VERSION
+       messg   "hello this is the fast version"
+       endif
+
+       ifdef   SLOW_VERSION
+       messg   "with an if"
+       else
+       messg   "and an else"
+       endif
 
        org     0
        goto    initialise