Question: MUST BE DONE IN ARM ASSEMBLY LANGUAGE (keil) Objective: Controlling the on-board LEDs of the LPC4088 QSB using an ARM Assembly Language Program. You will


Objective: Controlling the on-board LEDs of the LPC4088 QSB using an ARM Assembly Language Program. You will demonstrate control of the on-board LEDs on the LPC4088 QSB using an ARM Assembly Language program by switching them ON/OFF The lab consists of multiple steps (each 25 points), each is explained in detail later: a) Demonstrate that you can switch ON the LED1 on-board LPC4088QSB, using the given ARM assembly language program. b) Demonstrate that you can cause the LEDI on-board LPC4088QSB to blink by turning it ON/OFF in an infinite loop. You can achieve this by making changes to the given ARM assembly language program. c) Demonstrate that you can blink the LED2 on-board LPC4088QSB, using an ARM assembly language program. d) Demonstrate that you can blink the LED3 on-board LPC4088QSB, using an ARM assembly language program. e) Demonstrate that you can cause the LEDs to light up in order, LEDI, LED2, LED3, LED4 on- board LPC4088QSB to blink by turning it ON/OFF in an infinite loop. You can achieve this by making changes to the previous ARM assembly language program. Program code for part(a): LOCON P 13 EQU 0x4002C0B4; 22123] TOCON_PI_13 / 0x030 0x4002C0B6 LOCON PE 18 EQU 0x0002000 ; 011181 EOCON 21 18 / 0x030 DX4002 COCB D (tables 83, 84) This is essentially Table 94 from UM10562 LPC0B8QSB PO EQU 0x20098000 LPC40BSE_21 EQU 0x20098020 LPC40980SB 22 EQU 0x20098020 LECHOB8QSB_P3 EQU 0x20098060 LEC408SSE 24 EQU 0x20098080 LPC4088QSB_25 EQU 0x2009B0AD DIR REG OFFSET EQU 0x00 SISK REG OFFSET EQU Ox10 PIN REG OFSET EQU0x14 SET REG OPPSET EQU Ox16 CLR REG OFFSET EQU Oxic End Table 94 bit13 biti EQU (1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
