1.1 Assemblers:
System Software is a set of programs that manage the resources of a computer system. System
Software is a collection of system programs that perform a variety of functions.
Definition:
The Assembler is a Software that converts an assembly language code to machine code. It
takes basic Computer commands and converts them into Binary Code that Computer's
Processor can use to perform its Basic Operations. These instructions are assembler language
or assembly language.
Example: MASM , TASM
Basic assembler function: (5 basic function)
• Convert mnemonic operation code to their equivalent machine language.
• Convert symbolic operands to their equivalent machine address
• Build machine instruction in the proper format (format 1,2,3,4)
• Convert the data constant to internal machine representation
1
,21CS208 / Operating Systems Unit - I
• Write the object program and assembly listing.
Assembler Directives:
Assembler directives are directions to the assembler to take some action or change a setting.
Assembler directives do not represent instructions, and are not translated into machine code.
It generates instructions by evaluating the mnemonics (symbols) in operation field and find
the value of symbol and literals to produce machine code.
1
Simple sic assembler:
(simplified instructional computer)
Simplified Instructional Computer (SIC) is a hypothetical computer that has hardware
features that are often found in real machines. There are two versions of this machine:
1. SIC standard Model
2. SIC/XE(extra equipment or expensive)
Object programs for SIC can be properly executed on SIC/XE which is known as
upward compatibility
• SIC architecture contains: Memory, Registers, Data format, Instruction
formats, Addressing modes, Instruction set, Input and output
2
, 21CS208 / Operating Systems Unit - I
Below are some examples given below
3
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller praveenkumar.m1. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.49. You're not tied to anything after your purchase.