ARMv8 instruction learning (1)

Publisher:huanguuLatest update time:2016-07-25 Source: eefocusKeywords:ARM Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
1. TBNZ / TBZ / CBZ / CBNZ

    (1) TBNZ x0, #uimm6, label

             Test and branch Not zero.

             If x0[uimm6] != 0 , then jump to label location and execute.

    (2) TBZ x0, #uimm6, label

            Test and branch Zero.

             If x0[uimm6] == 0 , then jump to label location for execution.

    (3) CBZ x0, label

            Compare and Branch Zero

            If x0 == 0 , then jump to label position and execute

    (4) CBNZ x0, label

           Compare and branch Not zero.

            If x0 != 0 , then jump to label position and execute

2. LDUR / LDURB / LDURSB / LDURH / LDURSH / LDURSW / STUR / STURB / STURH

    They all belong to Load-Store Single Register (unscaled offset)

    unscaled offset: refers to "Base addr + an immediate value"

    (1) ldur x0,[base,#simm9]

           x0 = the content pointed to by [base+simm9]

    (2) ldurb w0,[base,#simm9]

           From the content pointed to by [base+simm9]: take a byte and assign it to w0.

           Other bytes in w0: extended with 0.

    (3) ldursb w0,[base,#simm9]

           From the content pointed to by [base+simm9]: take a byte and assign it to w0.

           Other bytes in w0: extended with the sign bit of this byte.

    (4) ldhur

          Similar to ldurb, but this time takes halfword (2 bytes)

    (5) ldursh

          Similar to ldursb, but this time takes halfword (2 bytes)

    (6) ldursw

          Similar to ldursb, but this time it takes word (4 bytes)

    (7) stubborn x0,[base,#simm9]

         Save x0 to the memory location pointed to by [base+#simm9]

    (8) sturb x0,[base,#simm9]

         Save a byte in x0 to the memory location pointed to by [base+#simm9]

    (9) sturh x0,[base,#simm9]

         Save a half-word (2 bytes) in x0 to the memory location pointed to by [base+#simm9]

Keywords:ARM Reference address:ARMv8 instruction learning (1)

Previous article:ARMv8 instruction learning (2)
Next article:Unaligned address access in ARMv7

Recommended ReadingLatest update time:2024-11-16 17:48

Design of portable meter reader based on ARM7 LPC2148
Automatic Meter Reading System (AMRS) is an intelligent management system that can read the user's electricity consumption without the need for personnel to arrive on site. In recent years, this technology has emerged at home and abroad and has developed very rapidly. Its ultimate goal is to automatically, centrally
[Microcontroller]
Design of portable meter reader based on ARM7 LPC2148
Embedded development skills: three interrupt debugging methods for ARM
Introduction: Refer to the development process of embedded software. Step 1: Project creation and configuration. Step 2: Edit source files. Step 3: Project compilation and linking. Step 4: Software debugging. Step 5: Solidification of execution files. 1Embedded Software Development Process Refer to the embedded so
[Microcontroller]
Ubuntu12.10 uses DNW to transfer data for ARM development board burning
Part 1 Preface I'm studying OK6410 development board recently, but rvds under windows is not easy to use. To burn the program to the development board, dnw is needed, and all these softwares have to be done under win, which is very frustrating. Besides, 64-bit win7 has various problems. I want to transplant the Linux
[Microcontroller]
CPU and Cache of ARM architecture in Linux system
【Summary】 【Reason for writing】 【Question Structure】 【Analysis 1】Overall Process get_free_pages and mmap 【Analysis 3】CPU and TLB CPU and L1 cache CPU and L2cache 【Summarize】 Note: Please use Google Chrome to read (IE browser layout is confusing) 【Summary】 Whether it is ARM, PowerPC, MIPS, or X8
[Microcontroller]
CPU and Cache of ARM architecture in Linux system
SoftBank suffered a huge loss of 700 billion yen and was forced to sell ARM at a low price? Apple and Samsung are both buyers
SoftBank, owned by Japan's richest man, Masayoshi Son, has suffered a huge loss of 700 billion yen in recent years due to careless investments. Recently, it is rumored that he is preparing to sell the acquired ARM to recover the losses. As the world's most important mobile CPU licensing company, it is a difficult ques
[Embedded]
SoftBank suffered a huge loss of 700 billion yen and was forced to sell ARM at a low price? Apple and Samsung are both buyers
Mobile embedded ARM7 serial port 9-bit programming technology
     1 Master-slave multi-machine communication   The so-called master-slave multi-machine system means that among several ARMs (or single-chip microcomputers ), one is the master and the rest are slaves. The slaves must obey the scheduling and control of the master. Its topological structure is shown in Figure 1.    
[Microcontroller]
Mobile embedded ARM7 serial port 9-bit programming technology
Design and implementation of real-time network based on ARM7
With the increasing development and popularity of Internet network technology based on TCP/IP protocol, various information networks have adopted TCP/IP protocol and connected to the Internet. Traditional measurement and control systems have been replaced by online measurement and control systems based on TCP/IP due
[Microcontroller]
Design and implementation of real-time network based on ARM7
A Design Scheme of ARM Controlled Inverter
1. System overall plan 1.1 Overall design diagram As shown in Figure 1, the inverter system consists of a boost circuit, an inverter circuit, a control circuit, and a feedback circuit. The low-voltage DC power supply DC12V is boosted, rectified, and filtered by the boost circuit to obtain a high-voltage DC power of ab
[Power Management]
A Design Scheme of ARM Controlled Inverter
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号