From: ian Date: Wed, 29 Jun 2005 23:53:06 +0000 (+0000) Subject: remove duplicate ifbit[01] X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=2da07b15dd90fbdfcef486ef1975774d19bf314f;p=trains.git remove duplicate ifbit[01] --- 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