Cortex m3 workspace or temporary regester

In cortex m3 processor what is used as a temporary variable for arithmetic operations like multiplication or addition. In 8085 we have accumulator A.similarly what is used for Cortex m3
Also where is the string stored before being transmitted using uart in cortex m3 processor ?

Parents
  • I suggest you spend some time with the documentation from the ARM website. But the ARM chips have many general-purpose registers so not just a single accumulator.

    Storing a string? Well - in RAM, FLASH, EEPROM or wherever you decide to store your string. The processor haven't any hardcoded space for storing strings. And there are nothing magic about the UART. You either pick up a character and manually put into the UART transmit register. Or you fill a FIFO with many characters. Or you configure a DMA channel to keep the UART busy. Nothing magic at all.

    Have you actually spent some time reading ARM documentation, and the datasheet/user manual for any specific processor?

Reply
  • I suggest you spend some time with the documentation from the ARM website. But the ARM chips have many general-purpose registers so not just a single accumulator.

    Storing a string? Well - in RAM, FLASH, EEPROM or wherever you decide to store your string. The processor haven't any hardcoded space for storing strings. And there are nothing magic about the UART. You either pick up a character and manually put into the UART transmit register. Or you fill a FIFO with many characters. Or you configure a DMA channel to keep the UART busy. Nothing magic at all.

    Have you actually spent some time reading ARM documentation, and the datasheet/user manual for any specific processor?

Children
More questions in this forum