From 3d416cd4327c4309e3ac1af0f443eee53e38ad89 Mon Sep 17 00:00:00 2001 From: ian Date: Thu, 6 Jan 2005 19:31:38 +0000 Subject: [PATCH] demonstrate SLOW_VERSION --- cebpic/nmra-stream.asm | 14 +++++++++++++- detpic/nmra-stream.asm | 14 +++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/cebpic/nmra-stream.asm b/cebpic/nmra-stream.asm index 6d69a29..a689473 100644 --- a/cebpic/nmra-stream.asm +++ b/cebpic/nmra-stream.asm @@ -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 diff --git a/detpic/nmra-stream.asm b/detpic/nmra-stream.asm index 6d69a29..a689473 100644 --- a/detpic/nmra-stream.asm +++ b/detpic/nmra-stream.asm @@ -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 -- 2.30.2