Hi
I am having a brain ache.
What is the instruction to set a bit in a word, kinda like (set bit 2 of word D2) or (reset bit 2 of word D2).
I know i can move a block of continuous M bits into a D register but was looking for the bit set of a word instruction, so i can use non continuous bits.
Also, what is the bit test of a word (i know i can AND it with H0001 for example to rest the first bit but i was wondering if there was a proper instruction.
ENCO / DECO ?
Cheers
I am having a brain ache.
What is the instruction to set a bit in a word, kinda like (set bit 2 of word D2) or (reset bit 2 of word D2).
I know i can move a block of continuous M bits into a D register but was looking for the bit set of a word instruction, so i can use non continuous bits.
Also, what is the bit test of a word (i know i can AND it with H0001 for example to rest the first bit but i was wondering if there was a proper instruction.
ENCO / DECO ?
Cheers