• 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();...
  • 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 retrieve data from a DPTR(16 bits) when registers are only 8bits
    Hi All, I'm facing a problem with assembly coding here.. CSEG AT 0100H LABEL: DB "TESTING TESTING 1 2 3]" TRANS: MOV DPTR,#LABEL ;load data pointer with LABEL's address MOV R0,DPL LJMP SEND_TO_TXD...
  • How to retrieve data from a DPTR(16 bits) when registers are only 8bits
    Hi All, I'm facing a problem with assembly coding here.. CSEG AT 0100H LABEL: DB "TESTING TESTING 1 2 3]" TRANS: MOV DPTR,#LABEL ;load data pointer with LABEL's address MOV R0,DPL LJMP SEND_TO_TXD...
  • How to set and retrieve Portbits in uVision C
    How can I set and retrieve bitwise in uVision C? Similar to assembler P1.0 addresses Bit0 in Port P0. I could not find any possiblility to do so unless I take the usual Bitaddressing techniques (masking...