Abundant Code

  • C#
  • C++
  • Elastic Search
  • Entity Framework
  • F#
  • JavaScript
  • ASP.NET
  • C
  • Java
  • SQL Server
  • Assembly Lang
Home » Assembly Language

System Software – SIC/XE program to copy a character string to another string

September 9, 2020 by AbundantCode Leave a Comment

Problem Statement

Write a SIC/XE program a program to copy a character string to another char string

Solution

Line NumberCodeComments
1LDA #5 
2STA ALPHA 
3LDA #90 
4STCH C1 
5ALPHA
…

Filed Under: Assembly Language Tagged With: Assembly Language, Question Bank, System Software Question Bank

System Software – Given the target address generated for the following machine instruction

September 9, 2020 by AbundantCode Leave a Comment

Question

System Software – Given the target address generated for the following machine instruction
(i) 032600h
(ii) 03C300h
(iii) 0310C303h
if(B)=006000,(PC)=003000, (X)=00090.

Solution

(i)032600=103000
(ii)03C300=00C303
(iii)0310C303=003030…

Filed Under: Assembly Language Tagged With: Question Bank, System Software Question Bank

System Software – SIC/XE Program to Write a subroutine to read a record into a buffer

September 2, 2020 by AbundantCode Leave a Comment

Problem Statement

Write a subroutine for SIC/XE that will read a record into a buffer. The record may be any length from 1 to 100 bytes. The end of record is marked with a “null” character (ASCII code 00). The …

Filed Under: Assembly Language Tagged With: Assembly Language, SIC, SIC/XE, System Software

System Software – SIC/XE Program to write a subroutine for SIC that will read a record into a buffer

September 2, 2020 by AbundantCode Leave a Comment

Problem Statement

Write a subroutine for SIC that will read a record into a buffer. The record may be any length from 1 to 100 bytes. The end of record is marked with a “null” character (ASCII code 00). The …

Filed Under: Assembly Language Tagged With: Assembly Language, Lab programs, SIC/XE

System Software – SIC/XE Program to write a subroutine for SIC that writes record on to device 05

August 31, 2020 by AbundantCode Leave a Comment

Problem Statement

Suppose that RECORD contains a 100-byte record. Write a subroutine for SIC that will write this record on to device 05.

Solution

Line NumberCodeComment
1JSUB WRREC 
2WRREC LDX ZERO 
3WLOOP TD
…

Filed Under: Assembly Language Tagged With: Assembly Language, SIC/XE

System Software – SIC/XE Program to find the maximum element in the array and store result in MAX

August 27, 2020 by AbundantCode Leave a Comment

Problem Statement

Assume that ALPHA is an array of 100 words. Write a sequence of instructions for SIC/XE to find the maximum element in the array and store results in MAX.

Solution

Line NumberCodeComment
 LDS #3 
…

Filed Under: Assembly Language Tagged With: Assembly Language

System Software – SIC/XE Program to multiply two arrays

August 27, 2020 by AbundantCode Leave a Comment

Problem Statement

Assume that ALPHA and BETA are the two arrays of 100 words. Another array of GAMMA elements are obtained by multiplying the corresponding ALPHA element by 4 and adding the corresponding BETA elements.

Solution

Line NumberCodeComments
…

Filed Under: Assembly Language Tagged With: Assembly Language, SIC/XE

System Software – SIC/XE Program to arrange an array of 100 words in ascending order

August 27, 2020 by AbundantCode Leave a Comment

Problem Statement

Suppose that ALPHA is an array of 100 words. Write a sequence of instruction for SIC/XE to arrange the 100 words in ascending order and store result in an array BETA of 100 elements.

Solution

Line NumberCode
…

Filed Under: Assembly Language Tagged With: Assembly Language, SIC/XE

System Software – SIC/XE Program to set 100 elements of the array to 0 using immediate addressing mode

August 27, 2020 by AbundantCode Leave a Comment

Problem Statement

Assume that ALPHA is an array of 100 words. Write a sequence of instructions for SIC/XE to set all 100 elements of the array to 0. Use immediate addressing and register-to-register instructions to make the process as efficient …

Filed Under: Assembly Language Tagged With: Assembly Language, SIC/XE

System Software – SIC/XE Program to set ALPHA=GAMMA*BETA-9 using Register Operation

August 27, 2020 by AbundantCode Leave a Comment

Problem Statement

Write a sequence of instructions for SIC/XE to set ALPHA=GAMMA*BETA-9 using register operation.

Solution

Line Number(ac)CodeDescription
1LDA GAMMA 
2MUL BETA 
3SUB 9 
4STA ALPHA 
…

Filed Under: Assembly Language Tagged With: Assembly Language, Question Bank, SIC, SIC/XE, System Software, System Software Question Bank

  • 1
  • 2
  • Next Page »
RSS
Facebook
fb-share-icon
Twitter
Visit Us
Follow Me
Tweet

Recent Posts

  • InvalidModuleDescriptorException when running java program in Eclipse IDE
  • Python Program to Check Armstrong Number
  • Collapsible links for subcategories in Docusaurus Sidebar
  • Python Program to Print Fibonacci Series
  • Python Program to Generate Multiplication Table

Categories

Tags

.NET App Array ASP.NET ASP.NET MVC Assembly Language C# C# programs c lab programs Collection convert C program csharp database Example F# guide How to How to in Java integer Java Javascript Lab programs Lambda LINQ List Python lab programs Python programs SIC/XE SQL Server string tips tricks tutorial tutorials UWP visual studio 2015 Windows Windows 8 Windows 10 Windows Phone Windows Phone 8 Windows Phone 8.1 wp8 XAML

Blog Stats

  • 8,747,449 hits

Archives

Top Posts & Pages

  • How to Convert a Stream to Byte Array in C# 4.0 ?
  • How to Allow only numeric input in a Textbox in WPF ?
  • How to Quickly Delete All Rows in a Table in Entity Framework?
  • C Program to display half-pyramid using alphabets
  • How to open display settings from command line in Windows 10 ?
  • How to Calculate MD5 checksum for a file in C# ?
  • How to Extract number from a string using C# ?
  • How to clean up unused PowerPoint master slides in PowerPoint?
  • System Software - SIC/XE Program to divide BETA by GAMMA and set quotient and remainder
  • How to retrieve the URL of the current Page in ASP.NET MVC 4 Controller ?

Categories

  • Android
  • Angular 2
  • ASP.NET
  • Assembly Language
  • C
  • C#
  • C++
  • Elastic Search
  • Entity Framework
  • Excel
  • F#
  • HTML
  • Interview Questions
  • Java
  • JavaScript
  • jQuery
  • Microsoft Office
  • MySQL
  • NETWORK
  • News
  • PHP
  • popular
  • PowerShell
  • Python
  • Ruby
  • SharePoint
  • SQL Server
  • SQL Server
  • Unix
  • VB.NET
  • Visual Studio
  • WebAPI
  • Windows
  • Windows Azure
  • Windows Forms
  • XAML

Top Posts & Pages

  • How to Convert a Stream to Byte Array in C# 4.0 ?
  • How to Allow only numeric input in a Textbox in WPF ?
  • How to Quickly Delete All Rows in a Table in Entity Framework?
  • C Program to display half-pyramid using alphabets
  • How to open display settings from command line in Windows 10 ?
  • How to Calculate MD5 checksum for a file in C# ?
  • How to Extract number from a string using C# ?
  • How to clean up unused PowerPoint master slides in PowerPoint?
  • System Software - SIC/XE Program to divide BETA by GAMMA and set quotient and remainder
  • How to retrieve the URL of the current Page in ASP.NET MVC 4 Controller ?

Recent Posts

  • InvalidModuleDescriptorException when running java program in Eclipse IDE
  • Python Program to Check Armstrong Number
  • Collapsible links for subcategories in Docusaurus Sidebar
  • Python Program to Print Fibonacci Series
  • Python Program to Generate Multiplication Table
  • Python Program to Find the Factorial of a Number
  • Python Program to Print Prime Numbers in a Given Interval
  • Python Program to Check Prime Number
  • Python Program to Find the Largest Value Among Three Numbers
  • Python Program to Check If a Given Year is Leap Year

Tags

.NET App Array ASP.NET ASP.NET MVC Assembly Language C# C# programs c lab programs Collection convert C program csharp database Example F# guide How to How to in Java integer Java Javascript Lab programs Lambda LINQ List Python lab programs Python programs SIC/XE SQL Server string tips tricks tutorial tutorials UWP visual studio 2015 Windows Windows 8 Windows 10 Windows Phone Windows Phone 8 Windows Phone 8.1 wp8 XAML