CT-Lab_5_ArithmOperations/sum_diff/app/sumdiff.s

52 lines
1.7 KiB
ArmAsm

; ------------------------------------------------------------------
; -- _____ ______ _____ -
; -- |_ _| | ____|/ ____| -
; -- | | _ __ | |__ | (___ Institute of Embedded Systems -
; -- | | | '_ \| __| \___ \ Zurich University of -
; -- _| |_| | | | |____ ____) | Applied Sciences -
; -- |_____|_| |_|______|_____/ 8401 Winterthur, Switzerland -
; ------------------------------------------------------------------
; --
; -- sumdiff.s
; --
; -- CT1 P05 Summe und Differenz
; --
; -- $Id: sumdiff.s 705 2014-09-16 11:44:22Z muln $
; ------------------------------------------------------------------
;Directives
PRESERVE8
THUMB
; ------------------------------------------------------------------
; -- Symbolic Literals
; ------------------------------------------------------------------
ADDR_DIP_SWITCH_7_0 EQU 0x60000200
ADDR_DIP_SWITCH_15_8 EQU 0x60000201
ADDR_LED_7_0 EQU 0x60000100
ADDR_LED_15_8 EQU 0x60000101
ADDR_LED_23_16 EQU 0x60000102
ADDR_LED_31_24 EQU 0x60000103
; ------------------------------------------------------------------
; -- myCode
; ------------------------------------------------------------------
AREA MyCode, CODE, READONLY
main PROC
EXPORT main
user_prog
; STUDENTS: To be programmed
; END: To be programmed
B user_prog
ALIGN
; ------------------------------------------------------------------
; End of code
; ------------------------------------------------------------------
ENDP
END