• need some help with inline assembler (addcs)
    Hello, I want add some inline assembler in my c-code: but at the moment I get some errors. unsigned int sum=0; __asm ("adds %0, %1, %1, lsl #16 \n\ addcs %0, %0, #0x10000" : "=r" (sum...
  • need some help with inline assembler (addcs)
    Hello, I want add some inline assembler in my c-code: but at the moment I get some errors. unsigned int sum=0; __asm ("adds %0, %1, %1, lsl #16 \n\ addcs %0, %0, #0x10000" : "=r" (sum...
  • C51: Word Alignment in Keil C51
    How I can turn-on word alignment in Keil C51? I have such definition of USB-descriptors for Cypress EZ-USB chip CY7C68013: const DEVICEDSCR code TestSyncSlave_DeviceDescriptor = { // Device descriptor...
  • C51: Word Alignment in Keil C51
    How I can turn-on word alignment in Keil C51? I have such definition of USB-descriptors for Cypress EZ-USB chip CY7C68013: const DEVICEDSCR code TestSyncSlave_DeviceDescriptor = { // Device descriptor...
  • c51
    I access the memory of w77e58 on-chip sram, whether it must be through Port P0 and P2 ,or not?