jovin555
Advanced Member level 4
how is it possible to map a port in 8051 to a variable and also its bits to the variables bits?and also i need to store the lower nibble of port bits to the variables higher nibble and vice versa?how to implement this in kiel?can anyone give me the code?for port0 and variable 'var' ,i want to store P0^0-P0^4 in Var^4-Var^7 and vice versa.