Logical operations based on ARM9

Publisher:chinalisaLatest update time:2017-10-07 Source: eefocusKeywords:ARM9 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Features of logical operations: 
1. Bitwise operation 
2. No carry or borrow between bits 
3. No distinction between positive and negative numbers and the size of inputs 
There are four logical operation instructions: 
AND: AND 
ORR: OR 
EOR: XOR 
BIC: Bit clear

The formats of the four instructions are unified as follows: 
instruction {condition} {S} destination register Rd, register Rn, operand2 
operand2: indicates the specific bit field of Rn to be operated, and saves the final value in Rd; 
for example: 
ANDS R0, R0, #0x0F; R0=R0&0x0F, take out the lowest 4 bits of data 
ANDEQ R2, R1, R3; R2=R1&R3


Keywords:ARM9 Reference address:Logical operations based on ARM9

Previous article:Based on ARM9: Thumb instruction system and ARM instruction system
Next article:Based on ARM9 program status register CPSR

Recommended ReadingLatest update time:2024-11-15 07:41

Implementation of SD Card File System Based on ARM9 and μC/OS-II
    With the continuous development of embedded technology, ARM processors have been widely used due to their high performance, low cost and low energy consumption. This paper mainly focuses on the demand for access to a large amount of real-time load data in the dynamic weighing system of trucks. Based on the ARM9 em
[Microcontroller]
Implementation of SD Card File System Based on ARM9 and μC/OS-II
Four ADC and touch screen control of ARM9 (S3C2440) - theoretical knowledge
Overview The 10-bit CMOS ADC (Analog/Digital Converter) is a recirculating type device with 8-channel analog input. It converts analog input signals into 10-bit binary digital codes with a maximum conversion rate of 500 KSPS at a 2.5MHz A/D converter clock. The A/D converter supports on-chip sample-and-hold functions
[Microcontroller]
Technical Analysis of ARM7 & ARM9 Dual-core Platform
The leading products in the embedded system teaching platform market are based on ARM7 or ARM9 architecture. It is generally believed that ARM7 is a low-end product and ARM9 is a high-end product. There is also a so-called "ARM7 & ARM9 covering high-end & low-end teaching platform". It is advertised that "both sets of
[Microcontroller]
ARM9 Basic Tutorial Lessen2—Timer
    In the previous I/O control article, when the program needs a delay, we use loop statements to implement it. This method is simple to delay, but not very accurate. When precise delay is required, this method cannot be used. It is generally implemented using a timer. Here, we will introduce the s3c2440 timer. ► C
[Microcontroller]
ARM9 Basic Tutorial Lessen2—Timer
Greenhouse tea cultivation monitoring system based on ARM9
0 Introduction With the rapid development of economy and the progress of science and technology, people's living standards are constantly improving, the requirements for quality of life are getting higher and higher, and the demand for spring tea is also greatly increased. As a result, spring tea is in short supply, s
[Microcontroller]
Greenhouse tea cultivation monitoring system based on ARM9
ARM9: How to port linux2.6.38 kernel to TQ2440
  The following are the specific steps for porting the Linux 2.6.38 kernel to TQ2440:   1. Modify the Makefile in the root directory ARCH=arm, CROSS-COMPILE=arm-linux-   2. In arch/arm/mach-s3c2440/mach-smdk2440.c, change s3c24xx_init_clocks(16934400) in line 163 to s3c24xx_init_clocks(12000000).   3. Change 362
[Microcontroller]
arm9's MMU_Init()
#include "def.h" #include "option.h" #include "2410addr.h" #include "2410lib.h" #include "2410slib.h" #include "mmu.h" // 1) Only the section table is used.  // 2) The cachable/non-cachable area can be changed by MMT_DEFAULT value. //    The section size is 1MB.   void MMU_Init(void) {     int i,j;     //=============
[Microcontroller]
Design of input and output system based on ARM9 and CPLD
Introduction: The outstanding features of embedded industrial control system are anti-interference and reliable stability in high and low temperature and high electromagnetic radiation environment. Compared with PLC system, its obvious advantages are fast processing speed, convenient construction of industrial Etherne
[Microcontroller]
Design of input and output system based on ARM9 and CPLD
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号