[an error occurred while processing this directive]
|
В datasheet на PIC16C505 написано:
"The STATUS register can be the destination for any
instruction, as with any other register. If the STATUS
register is the destination for an instruction that affects
the Z, DC or C bits, then the write to these three bits is
disabled. These bits are set or cleared according to
the device logic."
Вопрос: если регистр STATUS является приёмником для инструкции, которая модифицирует только один из этих флагов, то запись всё равно запрещается во все три флага или только в модифицируемый?
Пример:
movlw 0x01
xorwf STATUS,F
Инвертируется ли флаг C (STATUS[0])?
E-mail: info@telesys.ru