The code should be in assembly language and please include commenting in the cod
ID: 3911563 • Letter: T
Question
The code should be in assembly language and please include commenting in the code
Yt i dion mst be ald by the main procedure for each programming question. The subroutine must perform the Page 1 of 2 computation referred to in the question and must be passed arguments/parameters and return a value (if applicable) in compliance with the ARM Architecture Procedure Call Standard (AAPCS). 1. Write a subroutine that takes 8 integer arguments and computes the product of these integers. Note extra arguments should be passed to the subroutine via the stack Implement a subroutine of the Caesar shift encryption. It is a simple substitution encryption algorithm, in which each letter is replaced by a letter with a fixed number of offset down in the alphabet. For example, with a shift offset of 3, A would become D, and B would be replaced by E, and so orn. 2.Explanation / Answer
010 REM FIND PRIME NUMBERS LESS THAN 100
020 REM BY DENNIE VAN TASSEL
030 REM JULY 4, 1965
040 LET A = 1
The same thing would be done in FORTRAN as follows:
C FIND PRIME NUMBERS LESS THAN 100
C BY DENNIE VAN TASSEL
C JULY 4, 1957
A = 1
010010* FIND PRIME NUMBERS LESS THAN 100
010020* BY DENNIE VAN TASSEL
010030* JULY 4, 1959
010035 START-LOOP.
010040 MOVE 1 TO A.
Language
Comment Syntax
FORTRAN
C in position 1
BASIC
REM at beginning of the line
COBOL
* in position 7
Full-Line Comments
Table x.1
Language
Comment Syntax
FORTRAN
C in position 1
BASIC
REM at beginning of the line
COBOL
* in position 7