[go: up one dir, main page]

0% found this document useful (0 votes)
36 views35 pages

TYBSC (Computer Sci) 2013

This document contains sample assembly language code that performs subtraction on two variables and stores the result in a third variable. It also defines a macro and includes a table with process burst times and arrival times.

Uploaded by

Rutuja Kadam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views35 pages

TYBSC (Computer Sci) 2013

This document contains sample assembly language code that performs subtraction on two variables and stores the result in a third variable. It also defines a macro and includes a table with process burst times and arrival times.

Uploaded by

Rutuja Kadam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 35

Seat

No .
START 100

A DS 1
L1 RE AD A

READ B

MOVE R ARE G, A

SUB ARE G, B

MOVE M ARE G, C

P RINT C

STOP
B DS 2

C DS 1

E ND
MACRO

DE CR &X, &RE G, =ARE G, &N


LCL &M

&M SE T O

MOVE R &RE G, =‘O’

MORE MOVE M &RE G, &X+&M

&M SE T &M+1
AIF (&MNE N). Mor e

ME N D
Seat
No .
Seat
No .
Seat
No .
Seat
No.
Seat
No .
Seat
No .
P roc e s s B u rs t ti m e Arri v a l ti m e
P1 4 2
P2 6 0

P3 2 1
Seat
No .
Seat
No .
Seat
No .
Seat
No .
Seat
No .

You might also like