Experiment no. 2+

  • L2+.1 Name:


  • ARM V8 - 64-bit ARM processors for e_car
    ( automotive ARM)



  • L2+.2 Overview, purpose.


  • The lab experiment explores Rpi systems with 64-bit ARM processors, generically represented by the term AArch 64 which signifies the presence of the ARM V8 instruction set (similar to the one in the Apple M1). It uses the DEBIAN Linux operating system for the 64-bit version and classic tools such as assamblor as, linkeditor ld and debug gdb.
    The general registers of the processor are explored through simple example programs as well as introductory notions about the aarch 64 V8 instruction set, considered basic elements in the most widespread microprocessor architecture for mobile applications. At the end of the lab, you will have relevant information about the ARM A53/72/ architecture and the V8 version of the 64-bit instruction set present in the raspberry pi zero 2 W/Rpi4 but also in Tesla electric vehicles capable of moving without a driver.





  • L2+.3 Resources:


  • Rpi zero 2 W/Rpi4/5 with 64-bit Linux, wifi router, Internet connection, SSH client application (Putty)

    Documentation:
    ARM A53/72 Processor - Assembly Language
    ARM A53/72 - brief set of instructions
    GDB Commands



  • L2+.4 Example programs:


  • 1. Program AArch64 hello world
    2. AArch64 program add 2 numbers
    3. AArch64 program multiplying 2 numbers
    4. AArch64 program dividing 2 numbers


  • L2+.5 Experiment procedure:


  • The central element of the Rpi Zero 2 W development platform is the ARM A53 processor composed of 4 64-bit cores equipped with a set of instructions known as the V8 or AArch64 attribute. The Linux operating system for 64-bit architectures has, in standard configuration, the gcc compiler, as assembler, ld linkeditor and dbg debugger.

  • Examine the resources allocated to the user and the availability of the ARM gcc, as, ld and gdb compilers;
  • Using the Nano editor, edit the files with the .s extension containing the programs example;
  • Assemble, link-edit and run the example programs,
  • Using gdb identify the machine/object code produced after assembly according to the following example:





  • Solve the proposed problems;



  • L2+.6 Proposed Problems:


  • 1. Explore with dbg the executable object module for example program 1.
    2. Explore with dbg the executable object module for example program 2.
    3. Explore with dbg the executable object module for example program 3.
    4. Explore with dbg the executable object module for example program 4.
    5. Use chatGPT to generate assembly code sequences AArm64 and verify their execution.


  • L2+.7 The experiment can be extended for:


  • - Development of applications for autonomous electric vehicles;
    - Development of software modules for critical applications
    - Use of cloud resources for the development of professional applications;
    - Development of applications of the type Physical computing



  • L2+.8 Documentary references:

  • © 2010-2026 - Embedded Advanced Computer