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

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

Filed Under: Assembly Language Tagged With: Assembly Language, 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 subroutine should place the length of the record read into a variable named LENGTH. Use […]

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 subroutine should place the length of the record read into a variable named LENGTH. Solution […]

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 Number Code Comment 1 JSUB WRREC   2 WRREC LDX ZERO   3 WLOOP TD OUTPUT   4 JEQ WLOOP   5 LDCH RECORD, X   6 WD OUTPUT   […]

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 Number Code Comment   LDS #3     LDT #300     LDX #0     CLOOP LDA ALPHA, X     […]

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 Number Code Comments 1 LDS #3   2 LDT #300   3 LDX #0   4 ADDLOOP LDA […]

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 Number Code Comments 1 SORT START 0   2 OUTER LDX INDEX   3 LDS ARR1,X   […]

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 as possible. Solution Line Number Code Comments 1 LDS #3   2 LDT #300   […]

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) Code Description 1 LDA GAMMA   2 MUL BETA   3 SUB 9   4 STA ALPHA  

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

System Software – SIC/XE Program to clear 20 byte string to empty

June 28, 2016 by AbundantCode Leave a Comment

Problem Statement Write a sequence of instructions for SIC/XE to clear a 20-byte string to all blanks. Solution Line Number(ac) Code Description 1 LDX ZERO   2 LOOP LDCH BLANK   3 STCH STR1,X   4 TIX TWENTY   5 JLT LOOP   6 STR1 RESW 20   7 BLANK BYTE C ‘ ‘   […]

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

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

Recent Posts

  • 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

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,729,452 hits

Archives

Top Posts & Pages

  • C Program to Multiply Two Matrices Using Multi-dimensional Arrays
  • How to open display settings from command line in Windows 10 ?
  • How to Convert a Stream to Byte Array in C# 4.0 ?
  • C Program to display half-pyramid using alphabets
  • How to Extract number from a string using C# ?
  • Json.NET & VB.NET - How to Deserialize an Object ?
  • System Software - SIC/XE Program to clear 20 byte string to empty
  • How to Check if Integer is a multiple of a number in Java?
  • Tools to Convert Java to C# Source Code
  • How to Allow only numeric input in a Textbox in WPF ?

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

  • C Program to Multiply Two Matrices Using Multi-dimensional Arrays
  • How to open display settings from command line in Windows 10 ?
  • How to Convert a Stream to Byte Array in C# 4.0 ?
  • C Program to display half-pyramid using alphabets
  • How to Extract number from a string using C# ?
  • Json.NET & VB.NET - How to Deserialize an Object ?
  • System Software - SIC/XE Program to clear 20 byte string to empty
  • How to Check if Integer is a multiple of a number in Java?
  • Tools to Convert Java to C# Source Code
  • How to Allow only numeric input in a Textbox in WPF ?

Recent Posts

  • 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
  • Python Program to Check if a Number is Odd or Even
  • Python Program to Check if a Number is Positive, Negative or Zero

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