Sie sind auf Seite 1von 13

SCHOOL OF COMPUTING

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

Home Assignment -1
Academic Year: SS2021
Course Code / Course Name: : 1151CS105/ SYSTEM SOFTWARE
Name of the Faculty: N.K.SENTHIL KUMAR
Assignment Submission Deadline: 30/10/2020
Slot: S3

Group Name of Home Assignment K Level CO Vtu No


No
Group-1 1. Consider the following statements if ALPHA value is K2 CO1
SEVEN then what will be the final value of BEETA

LDA ALPHA
ADD INCR
SUB ONE
STA BEETA

2. Discuss how much memory usage for Simple data and


character movement operation in SIC/XE and what vtu11156
character will stored in C1 and justify how it differ from
SIC Standard Model vtu11173
LDA #5 vtu11204
STA ALPHA
LDCH #90
STCH C1

3. Explain briefly the addressing modes and instruction


sets in SIC and SIC/XE machine architecture.
4. Describe integer, character and floating point data type
representation for the following value.
i. 48
ii. B
iii. 17.8
iv. -7
5. Calculate the Object Code for the following instructions

a) 0000 FIRST STL RETADR

Note:

Above instruction Program Counter Addressing Mode

STL Machine Equivalent-14

b) 0006 CLOOP

0017 J CLOOP

Note:

Above instruction Program Counter Addressing Mode

J Machine Equivalent-3C K2 CO2

c) 103C +LDT #4096

Note:

LDT Machine Equivalent-75

6. Write an Algorithm for One-pass Assembler.

7. Explain Multipass assembler.

8. Load and Go assembler with an example.

Group-2 1. Consider the following statements if ALPHA value is FIVE K2 CO1 vtu11304
then what will be the final value of BEETA
vtu11345
LDA ALPHA
vtu11409
ADD EIGHT
SUB TWO
STA BEETA

2. Discuss how much memory usage for Simple data and


character movement operation in SIC/XE and what
character will stored in C1
LDA #8
STA ALPHA
LDCH #89
STCH C1

3. Explain briefly the addressing modes and instruction


sets in SIC and SIC/XE machine architecture.
4. Describe integer, character and floating point data type
representation for the following value.
v. 4
vi. Z
vii. 14.3
5. Define Control Section. How control sections differs from
program blocks.

6. Write an Algorithm for One-pass Assembler.


K2 CO2
7. Explain multipass assembler.

8. Load and Go assembler with an example.

Group-3 1. Draw the Instruction Formats for standard version of SIC


and Target address calculation for Direct and Indexed
Addressing Mode.

2. Discuss data format for integer,negative valus ,character


and floating point hardward in standard version of SIC K2 CO1
3 Write a Simple SIC program for data and character
movement operation

4 Write a Simple SIC program for Arithmetic operations

5 Discuss SIC Assembler Directive in detail K2 CO2


vtu12118
6 HSTRCP2001000000027
T0010001175000B05000053A00857A010B8503B2FF5 vtu12138
T0010110B5445535420535452494E47
E001000 vtu12142
Answer the following question below with explanation
i. Name of the program
ii. Starting address of the program
iii. Program length

7 Mention the steps requires for translation of the source


program to the object program.
8 Define Forward reference with example.

1 Draw the Instruction Formats for standard version of SIC


and Target address calculation for Base relative and
Program-counter relative Addressing Mode.

2 Discuss data format for floating point hardward in


standard version of SIC K2 CO1

3 Write a Simple SIC/XE program for data and character


movement operation

4 Write a Simple SIC/XE program for Arithmetic operations

5 Discuss SIC Assembler Directive in detail vtu12146

6 HSTRCP2001000000027 vtu12152
Group-4
T0010001175000B05000053A00857A010B8503B2FF5
vtu12169
T0010110B5445535420535452494E47
E001000
Answer the following question below with explanation
i. Starting address of the First Text Record
ii. Starting address of the program K2 CO2
iii. Length of the first text record

7 Mention the steps requires for translation of the source


program to the object program.

8 Define Forward reference with example.

Group-5 1 JLT, LDA, LDX, JSUB, MUL, STX, ADD, SUB, , K2 CO1
JEQ, TIO, STA, RSUB, HIO,SIO,COMPR,COMP,
ADDR,JSUB,RSUB
For the above instructions, classify them according to
Data, Arithmetic, Branching, and subroutine
instructions etc.
2 Solve and describe the following instructions using a
sample variable.
LDA ALPHA
ADD INCR
SUB ONE
STA BETA
LDA GAMMA
ADD INCR
SUB ONE
vtu12186
STA DELTA
3 Justify System software/Application software related with vtu12189
Machine Architecture.
vtu12200
4 Write a Simple SIC and SIC/XE program for Arithmetic
operations and memory usage in both architecture
5 What is the need of data structures in the Assembler? List
the various Data structures in the assembler.
6 Discuss the Machine dependent features of a SIC/XE
Assembler
7 1000 FIRST STL RETADR
1003 CLOOP JSUB RDREC
….
….
1033 RETADR K2 CO2

203A RDREC

Write the object code for first two instruction both in


hexadecimal and binary
8 Explain Assembler Algorithms and Data structure

Group Name of Home Assignment K Level CO Vtu No


No
Group-6 9. Write short notes on K2 CO1 vtu12202
i. Data and instruction formats SIC.
vtu12206
ii. Addressing modes of SIC/XE.
iii. What will be the final value of BEETA if ALPHA vtu12262
value is TWO

LDA ALPHA
LDS #5
ADD INCR
ADD S,A
STA BEETA

10. Discuss how much memory usage for Simple data and
character movement operation in SIC/XE and what
character will stored in C1
LDA #7
STA ALPHA
LDCH #88
STCH C1

11. Explain briefly the addressing modes and instruction


sets in SIC and SIC/XE machine architecture.
12. Describe integer, character and floating point data type
representation for the following value.
viii. 12
ix. Z
x. 17.03
13. Define Assembler. How assembler differ from compiler.

14. Write a format of object program .

15. Explain Multipass assembler. K2 CO2


16. Explain the functioning of a) Load-and-go assemblers
and b) Multipass assemblers

Group-7 9. Consider the following statements if ALPHA value is FIVE vtu12477


then what will be the final value of BEETA
vtu12491
LDA ALPHA
vtu12495
ADD EIGHT
SUB TWO
STA BEETA

10. Discuss how much memory usage for Simple data and
character movement operation in SIC/XE and what
character will stored in C1
LDA #8
STA ALPHA
LDCH #89 K2 CO1
STCH C1

11. Explain briefly the addressing modes and instruction


sets in SIC and SIC/XE machine architecture.
12. Describe integer, character and floating point data type
representation for the following value.
xi. 4
xii. Z
xiii. 14.3
13. Define Control Section. How control sections differs from K2 CO2
program blocks.

14. Calculate the Object Code for the following instructions

d) 0000 FIRST STL RETADR


Note:

Above instruction Program Counter Addressing Mode

STL Machine Equivalent-14

e) 0006 CLOOP

0017 J CLOOP

Note:

Above instruction Program Counter Addressing Mode

J Machine Equivalent-3C

f) 103C +LDT #4096

Note:

LDT Machine Equivalent-75

15. Explain in detail the functions of Pass1 and pass2 of


two pass assembler and the data structures
16. Explain in detail the features of MASM assembler for
Pentium system
3. i. Define system software. Give examples.
ii. Explain the instruction format and addressing
modes in SIC.
iii. What are different assembler directives?

4. Discuss data format for integer,negative valus ,character K2 CO1


and floating point hardward in standard version of SIC

Group-8 3 Write a Simple SIC program for data and character


movement operation

4 Write a Simple SIC program for Arithmetic operations

5 Discuss SIC Assembler Directive in detail K2 CO2


6 HSTRCP2001000000027
T0010001175000B05000053A00857A010B8503B2FF5
T0010110B5445535420535452494E47
E001000
Answer the following question below with explanation
iv. Name of the program
v. Starting address of the program
vi. Program length

7 Mention the steps requires for translation of the source


program to the object program.
vtu12497
8 Explain in detail the features of MASM assembler for vtu12498
Pentium system
vtu12499
1 Draw the Instruction Formats for standard version of SIC and
Target address calculation for Base relative and
Program-counter relative Addressing Mode.

2 Discuss data format for floating point hardward in


standard version of SIC K2 CO1

3 Write a Simple SIC/XE program for data and character


movement operation

4 Write a Simple SIC/XE program for Arithmetic operations

5 i. What are the basic assembler functions?


ii. What is the use of Location
Counter(LOCCTR)? vtu12528

vtu12529
Group-9
6 HSTRCP2001000000027 vtu12531
T0010001175000B05000053A00857A010B8503B2FF5
T0010110B5445535420535452494E47
E001000
Answer the following question below with explanation
K2 CO2
iv. Starting address of the First Text Record
v. Starting address of the program
vi. Length of the first text record

7 Mention the steps requires for translation of the source


program to the object program.

8 Give examples of
a) data movement operations and
b) Looping and indexing operations
Group- 1 Give examples of a) data movement operations and b) K1 CO2
10 Looping and indexing operations of
2 SIC/XE
3 Justify System software/Application software related with
Machine Architecture.

4 Write a Simple SIC and SIC/XE program for Arithmetic


operations and memory usage in both architecture
5 What is the need of data structures in the Assembler? List
the various Data structures in the assembler.
6 Discuss the Machine dependent features of a SIC/XE
Assembler
1000 FIRST STL RETADR vtu12838
7
1003 CLOOP JSUB RDREC vtu12887
….
…. vtu12889
1033 RETADR K2 CO2

203A RDREC

Write the object code for first two instruction both in


hexadecimal and binary
8 Explain Assembler Algorithms and Data
structure
Group- 1. Write short notes on K2 CO1
11 iv. Data and instruction formats SIC.
v. Addressing modes of SIC/XE.
vi. What will be the final value of BEETA if ALPHA
value is TWO

LDA ALPHA
LDS #5
ADD INCR
ADD S,A
STA BEETA vtu12944

vtu13379
2. Discuss how much memory usage for Simple data and
character movement operation in SIC/XE and what vtu13620
character will stored in C1
LDA #7
STA ALPHA
LDCH #88
STCH C1

3. Explain briefly the addressing modes and instruction


sets in SIC and SIC/XE machine architecture.
4. Describe integer, character and floating point data type
representation for the following value.
xiv. 12
xv. Z
xvi. 17.03
5. Write short notes on
vii. Data and instruction formats SIC.
viii. Addressing modes of SIC/XE.
ix. What will be the final value of BEETA if ALPHA
value is TWO

LDA ALPHA
LDS #5
ADD INCR
ADD S,A
STA BEETA

6. Discuss how much memory usage for Simple data and


character movement operation in SIC/XE and what
character will stored in C1
LDA #7
K2 CO2
STA ALPHA
LDCH #88
STCH C1

7. Explain briefly the addressing modes and instruction


sets in SIC and SIC/XE machine architecture.
8. Describe integer, character and floating point data type
representation for the following value.
xvii. 12
xviii. Z
xix. 17.03
1. Draw the Instruction Formats for standard version of SIC and
Target address calculation for Base relative and
Program-counter relative Addressing Mode.

2. Discuss data format for floating point hardward in vtu14251


Group-
12 standard version of SIC K2 CO1 vtu14285

3. Write a Simple SIC/XE program for data and character vtu14315


movement operation

4. Write a Simple SIC/XE program for Arithmetic operations

5. iii. What are the basic assembler functions? K2 CO2


iv. What is the use of Location
Counter(LOCCTR)?
6. HSTRCP2001000000027
T0010001175000B05000053A00857A010B8503B2FF5
T0010110B5445535420535452494E47
E001000
Answer the following question below with explanation
vii. Starting address of the First Text Record
viii. Starting address of the program
ix. Length of the first text record

7. Mention the steps requires for translation of the source


program to the object program.

8. Give examples of
a) data movement operations and
b) Looping and indexing operations
1. Draw the Instruction Formats for standard version of SIC and
Target address calculation for Direct and Indexed
Addressing Mode.

2. Discuss data format for integer,negative valus ,character


and floating point hardward in standard version of SIC K2 CO1
3. Write a Simple SIC program for data and character
movement operation
Group-
13 4. Write a Simple SIC program for Arithmetic operations vtu14446

5. Discuss SIC Assembler Directive in detail K2 CO2 vtu14598

6. HSTRCP2001000000027 vtu14636
T0010001175000B05000053A00857A010B8503B2FF5
T0010110B5445535420535452494E47
E001000
Answer the following question below with explanation
vii. Name of the program
viii. Starting address of the program
ix. Program length

7. Calculate the Object Code for the following instructions


g) 0000 FIRST STL RETADR
Note:
Above instruction Program Counter Addressing Mode
STL Machine Equivalent-14
h) 0006 CLOOP
0017 J CLOOP
Note:
Above instruction Program Counter Addressing Mode
J Machine Equivalent-3C

i) 103C +LDT #4096

Note:
LDT Machine Equivalent-75

8. Define Forward reference with example.


1. Summarize how system software depends on machine
architecture.
2. Demonstrate a simple SIC and SIC/XE program with
example.
Group- 3. Summarize how can you represent in binary for the
following numbers and character in SIC/XE architecture.
14
a) 32
b) 14.12
c) C (Capital Letter)
d) y (Small Letter) vtu14688
K2 CO1
vtu14693
4. Consider the following statements if ALPHA value is
SEVEN then what will be the final value of BEETA vtu14834

LDA ALPHA
ADD INCR
SUB ONE
STA BEETA
Demonstrate the above simple program for data movement
operation in SIC and SIC/XE for memory usage.
5. Calculate the Object Code for the following instructions

j) 0000 FIRST STL RETADR

Note:

Above instruction Program Counter Addressing Mode

STL Machine Equivalent-14


K2 CO2
k) 0006 CLOOP

0017 J CLOOP

Note:

Above instruction Program Counter Addressing Mode

J Machine Equivalent-3C
l) 103C +LDT #4096

Note:

LDT Machine Equivalent-75

6. Write an Algorithm for One-pass Assembler.


7. Explain Multipass assembler.
8. Load and Go assembler with an example.
1. Draw the Instruction Formats for standard version of SIC
and Target address calculation for Direct and Indexed
Group- Addressing Mode.
15 2. Discuss data format for integer,negative valus ,character
and floating point hardward in standard version of SIC
3. Write a Simple SIC program for data and character
vtu14984
movement operation
K2 CO1
4. Summarize how can you represent the following in SIC/XE vtu14997
architecture.
(i) 86
(ii) Z (Capital Letter)
(iii) k (Small Letter)
(iv). 12.04

5. Discuss SIC Assembler Directive in detail


6. HSTRCP2001000000027
T0010001175000B05000053A00857A010B8503B2FF5
T0010110B5445535420535452494E47
E001000
Answer the following question below with explanation
x. Name of the program K2 CO2
xi. Starting address of the program
xii. Program length

7. Mention the steps requires for translation of the source


program to the object program.
8. Define Forward reference with example.

Das könnte Ihnen auch gefallen