• Naming portbits globally
    I want to give a particular portbit a name, that I can use across multiple sourcefiles. To make portable code, I prefer to avoiding physical addresses. The only a approach I have been able to think of...
  • Retrieving data from array.
    Hi, I am trying to retrieve data from an array "Buf" to register but am unable to do so. Below is my code: >>>> long T_msec,Div= 360000; int T_hours; char Buf[3]; while(1) { check_digit();...
  • How to set external memory for Dallas 390
    I set the following target options: 0x0000:0xfc00 ROM,0xfc00:0x100 RAM,0x10000:0x20000 ROM,0x30000:0x4c380 RAM I want to use the 0xfc00:0x100 area for my hardware interface.what can I do?The following...
  • how to set parity bit and stop bit
    i have problem how to set parity bit and stop bit in C language while sending data on serial port
  • Setting an address to be zero
    Which of these set the address 0x0FFE000 to be equal to zero. 1) const int far zero _at_ 0x0FFE000 = 0; 2) const int far zero _at_ 0x0FFE000 = "0"; 3) const int far zero _at_ 0x0FFE000 = '0';...