Skip to content
Question Bank (3 marks) · Q13

Q.Mention the different steps used to write a program.

Karnataka PUCTextbookLong· 3mImportance★★★★★est
57% · 65/115 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

[!TLDR]

Writing an 8051 program is a four-step tool chain: editor → assembler → linker → OH (object-to-hex) converter, ending in a .hex file ready to burn into ROM.

An assembly language program does not become machine code in one step; it flows through a sequence of programs (utilities), each producing a file used by the next stage:

  1. Editor — first an editor (such as MS-DOS EDIT or Notepad) is used to type in the program. The editor produces an ASCII text source file that follows the usual naming conventions, with the extension .asm (or .src).
  2. Assembler — the .asm source file is fed to an 8051 assembler, which converts the mnemonics into machine code. The assembler produces an object file with extension .obj and an optional list file with extension .lst (which lists all the opcodes, addresses and any errors the assembler detected). …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.