Motorola HC12 Refrence Manual page 87

Table of Contents

Advertisement

BCLR
Operation:
(M)
Description:
Clears bits in location M. To clear a bit, set the corresponding bit in the
mask byte. Bits in M that correspond to zeros in the mask byte are not
changed. Mask bytes can be located at PC + 2, PC + 3, or PC + 4, de-
pending on addressing mode used.
Condition Codes and Boolean Formulas:
S
N:
Z:
V:
Addressing Modes, Machine Code, and Execution Times:
Source Form
BCLR opr8a, msk8
BCLR opr16a, msk8
BCLR oprx0_xysp, msk8
BCLR oprx9,xysp, msk8
BCLR oprx16,xysp, msk8
Notes:
1. Indirect forms of indexed addressing cannot be used with this instruction.
CPU12
REFERENCE MANUAL
Clear Bits in Memory
(Mask) ⇒ M
X
H
I
N
Z
Set if MSB of result is set; cleared otherwise.
Set if result is $00; cleared otherwise.
0; Cleared.
1
Address Mode
DIR
EXT
IDX
IDX1
IDX2
INSTRUCTION GLOSSARY
V
C
0
Object Code
4D dd mm
1D hh ll mm
0D xb mm
0D xb ff mm
0D xb ee ff mm
BCLR
Cycles
Access Detail
4
rPOw
4
rPPw
4
rPOw
4
rPwP
6
frPwOP
MOTOROLA
6-27

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpu12

Table of Contents