Programming of microcontrollers using Simplicity Studio solutions of language Assembler Ax51.
Abstract
The article provides an overview of the existing programming capabilities in the Assembler Ax51 language of the C8051F340 microcontroller in the Simplicity Studio development environment. The article is a guide for the practical application of the Assembler language. Guides [1-2] have a lot of information about the Assembler language and the description of the C8051F340 microcontrollers, but this information is separated from each other. Moreover, there was little explanation for its practical use with the Simplicity Studio development environment [3]. The paper provides explanations of the components into which the teams are divided, namely directives, instructions and controls. A brief description of registers, directives, control elements, instructions, work with variables is given. There are examples of using some logical and arithmetic instructions in the form of code with an explanation of the results of execution, which can be seen in screenshots with the values of the registers after the execution of commands. Added examples of working with variables, the results of which are stored in the memory of the microcontroller.
Downloads
References
Macro assembler and utilities for 8051 and variants/ [Електронний ресурс] – Режим доступу: https://web.engr.uky.edu/~jel/course/587/datasheets/A51.pdf
Description of the C8051F340 Microcontroller/ [Електронний ресурс] – Режим доступу: https://www.silabs.com/documents/public/data-sheets/C8051F34x.pdf
Simplicity studio software/ [Електронний ресурс] – Режим доступу: https://www.silabs.com/developers/simplicity-studio