Write a program that implements a hex counter on the leftmost 7-segment display. Increment the counter every second. Define and use a lookup table on Flash that map every hex digit into the pattern that should be displayed on the 7-segment display.
WRITE IN HCS12 ASSEMBLY