question archive 1) Write a 68000 assembly code that adds two 2048-bit binary numbers stored in the memory and stores the result in place of the first number
Subject:Computer SciencePrice: Bought3
1) Write a 68000 assembly code that adds two 2048-bit binary numbers stored in the memory and stores the result in place of the first number. Write comments to explain your code. 2. [70 pts] Write a 68000 assembly program that checks the temperature and controls the speed of a cooling fan. The temperature is measured using a sensor and then converted and stored digitally in an external 8-bit register mapped to memory address $5001. The processor then needs to write an 8-bit control code to an external 8-bit register mapped to memory address $5003. The table below defines the relationship between the temperature and the speed. Write comments to explain your code. Temperature(decimal) Speed code(Hex) 0 to 20 00 20 to 40 10 40 to 60 20 60 to 100 30 >100 FF