Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
software:keil:asm_project [2016/02/25 13:55] – [Create a Assembly Project] feursoftware:keil:asm_project [2020/02/07 16:20] (current) – [Minimal Assembly Project] akdi
Line 1: Line 1:
-====== Create Assembly Project ======+====== Create an Assembly Project ======
  
 Creating an Assembly project is pretty much the same as createing a [[c_project|C project]]. \\ Creating an Assembly project is pretty much the same as createing a [[c_project|C project]]. \\
  
-\\ {{keil_add_file_2.png?500em}} \\ \\+\\ {{keil_add_file_3.png?700em}} \\ \\
  
 |< 100% 10em >| |< 100% 10em >|
Line 20: Line 20:
                  THUMB                   THUMB 
    
-ADR_LED          EQU    0x60000100  +ADDR_LED         EQU    0x60000100  
-ADR_DIPSW        EQU    0x60000200 +ADDR_DIPSW       EQU    0x60000200 
    
 main             PROC  main             PROC 
                  EXPORT main                   EXPORT main 
    
-                 LDR    R0, =ADR_LED  +                 LDR    R0, =ADDR_LED  
-                 LDR    R1, =ADR_DIPSW +                 LDR    R1, =ADDR_DIPSW 
 loop             LDR    R2, [R1, #0]  loop             LDR    R2, [R1, #0] 
                  STR    R2, [R0, #0]                   STR    R2, [R0, #0] 
Line 42: Line 42:
  
 The difference between a normal an d a minimal Assembly project is, that for the minimal project you don't need to choose a runtime component. This means you have to take care of every aspect yourself! \\ The difference between a normal an d a minimal Assembly project is, that for the minimal project you don't need to choose a runtime component. This means you have to take care of every aspect yourself! \\
-The example code bellow shows a very minimal setup (without access to the CT Board peripherals). \\+The example code bellow shows a very minimal setup (without access to the CT Board [[ctboard:input|input]] or [[ctboard:output|output]] peripherals). \\
  
 <file asm main.s> <file asm main.s>
Line 73: Line 73:
                 END                  END 
 </file> </file>
-\\+\\ \\ 
 + 
 + 
 +//**Back to [[software:start:getting_started|Getting Started]]**//
  • software/keil/asm_project.1456408509.txt.gz
  • Last modified: 2016/02/25 13:55
  • by feur