From 2da07b15dd90fbdfcef486ef1975774d19bf314f Mon Sep 17 00:00:00 2001 From: ian Date: Wed, 29 Jun 2005 23:53:06 +0000 Subject: [PATCH] remove duplicate ifbit[01] --- cebpic/i2c-test-reply.asm | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/cebpic/i2c-test-reply.asm b/cebpic/i2c-test-reply.asm index e3a4900..f191ea1 100644 --- a/cebpic/i2c-test-reply.asm +++ b/cebpic/i2c-test-reply.asm @@ -122,22 +122,6 @@ panic macro message goto panic_routine endm -;---------------------------------------- -; ifbit1(REGISTER,BITNUMBER) -; executes the next instruction but only if bit BITNUMBER -; in REGISTER (which must be in the access bank) is set -ifbit1 macro REGISTER, BITNUMBER - btfsc REGISTER, BITNUMBER, 0 - endm - -;---------------------------------------- -; ifbit0(REGISTER,BITNUMBER) -; executes the next instruction but only if bit BITNUMBER -; in REGISTER (which must be in the access bank) is clear -ifbit0 macro REGISTER, BITNUMBER - btfss REGISTER, BITNUMBER, 0 - endm - ;---------------------------------------- ; debug(BYTE) ; writes BYTE through the serial port -- 2.30.2