Tiny6410 bare metal programming -- (2) Assembly light-up led

Source: Internet
Author: User
  • The tiny6410 Development Board supports both NAND and SD startup modes.

In my understanding, it means "nc" is not connected. Om [] = 01111, boot_eint [] = 000, refer to the following table to indicate that the SD card is enabled. The switch is not described in the schematic.

  • The LED diagram is as follows:

Gpk4, 5, 6, and 7 light-emitting diodes are switched ON when the light-emitting diode is switched on.

  • Arm Assembly

MoV command

1: Syntax:
   2:  
   3: MOV{cond}{s} Rd, N
   4:  
5: Send a number to the RD register. N can be a register RM, or an immediate number starting with #, for example:
   6:  
7: before execution:
   8:  
   9: r5=2
  10:  
  11: r7=4
  12:  
  13: MOV r5,r7
  14:  
15: after execution,
  16:  
  17: r5=4
  18:  
  19: r7=4
  20:  

MVN command

1: similar to the mov command, it only returns the source register or the number immediately, and then copies it to the target register.

Tiny6410 bare metal programming -- (2) Assembly light-up led

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.