This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Keil C bit allocation at certain memory

Hi All,

Do anyone has idea how i can assign the bit allocation to certain memory address?

For now i could only use the _at_ to assign the character.

I am actually try to emulate the following assembly code. The SET_KEY is actually 2C.0, MINUS is 2C.1 and the PLUS is 2C.2. Anybody knows how i can do it in C using KEIL?

KEYS_NEW EQU 02CH
; TEST EQU 062H ; TEST key current status
MINUS EQU 063H ; MINUS key current status
PLUS EQU 064H ; PLUS key current status

0