Introduction to Building and Debugging ARM Assembler Programs under Keil

Publisher:MysticalGardenLatest update time:2018-12-14 Source: eefocusKeywords:Keil  ARM  assembler Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1. New construction



Select the target processor, for example: SAMSUNG /S3C2410


2. Create a new file



SAVE


3. Add files to the project



Or double-click the group folder and select the file you saved


4. Set project properties


 

 



5. Edit the code



6. Build



7. debug



8. Introduction to debugging methods


Window 1 Assembly code editing window


Window 2 single-step debugging work bar, or press the shortcut key F11 or F10


Window 3 is the register window when the program is executed. Supervisor is high black, indicating that the current CPU is in Supervisor working mode. (For an introduction to the CPU working mode, refer to the blog post: arm processor working mode) Current represents the value of each register in the current mode.


Window 4: Disassembly window, you can see the value address, machine code, and assembly language corresponding to the machine code when the program is executed

Keywords:Keil  ARM  assembler Reference address:Introduction to Building and Debugging ARM Assembler Programs under Keil

Previous article:stm32 software simulation debugging
Next article:KEIL for ARM comes with a sample program virtual serial port debugging

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号