Keil code overall offset and search function

Publisher:创客1992Latest update time:2019-04-18 Source: eefocusKeywords:Keil Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Select the code to be offset, then press the TAB key, and all selected codes will be offset backward by TAB. The number of spaces equal to TAB can be set under "Edit" - "Editor" - "C/C++ Files".

If you want to go back, select the target code and press Shift+TAB.


Keil's search function


The motor can be called out:


There are three tabs to choose from, "Replace" is for replacement, "Find" is for search, and "Look in" can set the search scope, which is in this file, this project or selected object. Below you can set the search options, such as "Match whole thing" means complete match. In "Find in Files", you can specify the search scope and file type.


Keywords:Keil Reference address:Keil code overall offset and search function

Previous article:Use of Keil logic analyzer
Next article:Keil macro definition and how to know the microcontroller resource name

Recommended ReadingLatest update time:2024-11-16 13:56

How to use the printf function in STM32+Keil?
Keil does not support the Host-semi mechanism, that is, it does not support printing strings directly in the IDE. Then you can only send data to the hardware serial port through the program. In this way, you can use a custom function when calling, which is also very convenient. For example: void send_char_to_usart(u
[Microcontroller]
ARM9 key interrupt problem under keil
I have been struggling with the fact that the startup file that comes with MDK cannot be interrupted. I thought the file was missing some configurations, and there was a lot of discussion online about it! ! ! ! ! ! ! Actually it is not true!!! With the help and inspiration of a kind teacher, I found that as long as IR
[Microcontroller]
Add ASM code to Keil C51 function
Using C51 to program a microcontroller is a much easier and more efficient way to do it, but for many algorithmic and compiling problems, it is often more convenient and efficient to use ASM code. But for some reason, Keil is much more troublesome than SDCC in implementing C51 mixed with ASM code. The method is as foll
[Microcontroller]
Use Keil2 software to simulate the time of delay statement
First click option for target 'target1' under project Change the crystal frequency to 11.0592MHz, which is consistent with the crystal frequency on the TX-1C test board Then click the start/stop debug session button under debug to debug The delay code is as follows #include reg52.h //Int integer variables are
[Microcontroller]
Use Keil2 software to simulate the time of delay statement
Microcontroller simulation of proteus and keil Cx51 (button lighting)
Circuit diagram C program: #include reg51.h sbit K01=P1^4; sbit K02=P1^5; sbit K03=P1^6; sbit K04=P1^7; sbit VD17=P3^0; sbit VD18=P3^1; sbit VD19=P3^2; sbit VD20=P3^3; void delay() {unsigned char i,j;for(i=0;i 255;i++)for(j=0;j 255;j++);} //Delay program void main() { while(1) { if(K01==0)//P1
[Microcontroller]
Make KEIL have both 51 and ARM compilation functions
Install 51 and ARM KEIL separately, they are in different folders, in order to extract the C51 folder. Then the question is, can they be installed in the same folder? Theoretically it works, but I haven't tried it. It's actually very simple, here are the steps: 1. First, move the folder named C51 in the KEIL C51 insta
[Microcontroller]
Keil5 tutorial
1. Create a project   First, create a folder on the desktop, then open KEIL5 and select: project- new μVision project- select the created folder and name it- select the main control chip model- OK   When selecting the chip model, if it is a 51 chip, select the generic type under Generic. If it is a 32 microcontrolle
[Microcontroller]
Keil5 tutorial
Several Precise Delay Methods in Keil C51 Programming
introduction Single-chip microcomputers have a wide range of applications due to their small size, powerful functions, low cost, and easy implementation of distributed control . Single-chip microcomputer developers often encounter the problem of achieving accurate delay when compiling various application pr
[Microcontroller]
Several Precise Delay Methods in Keil C51 Programming
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
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号