Using the irvine32 library functions

Assignment Help Programming Languages
Reference no: EM131688

Problems:

1. The file myInputFile.txt is an encrypted file. Your assignment is to decrypt this file and hopefully answer the question for bonus points. Do the following in your code.
a. Open the file "InputFile.txt", read the contents.
Hint: if your file open handle does not work, check that you have the InputFile.txt file in the project directory and not the debug directory.
b. XOR each byte of the file with 0ffh. (Please refer to the note on XOR operation below)
c. Print the contents of the file decoded string to the console window
d. Print the output to a file "OutputFile.txt"
e. Use a comment in your asm file to answer the bonus question.

2. Create 32 random points which have (x, y) co-ordinates. The co-ordinates are constrained to be in the following range:
(-15<= x <= 14) and (-15<=y <=14)

(Hint - generate a random # between 0 and 29 then subtract 15 from this). 

a. Plot the co-ordinate in the console screen with a different color if it lies in the following quadrants:
Quadrant 1 points gets a yellow *
Quadrant 2 points gets a cyan *
Quadrant 3 points gets a red *
Quadrant 4 points gets a green *

b. Draw the x and y axis too

 

Reference no: EM131688

Questions Cloud

Implement the delivery company : Implement the delivery company using the classes given in the class diagram above.
Write a complete c++ program : The main program will read in a parameter value n (read this in main). Then it will call a function read2arrays (details below) to read lists of grades into two arrays, which the main program will call test1 and test2 (or some other names of your ..
Prepare an arbitrary sinusoidal waveform : Create a program to compute the derivative of an arbitrary input function, with arbitrary duration and arbitrary limits
Security vulnerability : What is the security vulnerability of this solution
Using the irvine32 library functions : Create 32 random points which have (x, y) co-ordinates
Prepare a planning memo for the tlc engagement : Prepare a planning memo for the TLC engagement based on the information provided in the case.
Evaluate the gross profit : Evaluate the gross profit
Overview of the situation/accounting issue : You will be asked to address a accounting failure from AMERICAN INSURANCE GROUP. Overview of the situation/accounting issue
Describe the forest, domain, ou, and trust configuration : Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

Reviews

Write a Review

Programming Languages Questions & Answers

  Programming problem

Programming Problem can be solved by a program that performs three basic tasks-Input Data, Process Data, and Output Results.

  Implement functions using x86 assembly

Implement a procedure that mimics a logic unit

  Html/css

"Validating Your Work" Please respond to the following:  Describe attribute minimization. Explain what would happen if you tried to validate a page containing instances of attribute minimization. Propose a solution to this problem.

  Hierarchy of processes

Write a program that creates a hierarchy of processes using the fork() system call.

  Create a project in xcode

Create a new project in XCode using the Mac OS X/Command Line Tool template

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Top-down recursive descent parser

Write a hand-coded top-down recursive descent parser.

  Technical project: sample website project

Technical Project: Sample Website Project , This assignment consists of three (3) sections: a narrative, a storyboard, and a business Website. You must submit all three (3) sections for the completion of this assignment.

  Create a multi-threaded competition

Create a multi-threaded competition in which opposing Robin Hoods will attack one another and try to take each other's gold coins.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Questions on programing problem with the process of analysis

Questions on Programing Problem with the process of analysis and reflection that went on as you developed the project.

  Development of the current strategic potential of airline

Evaluate the organisation's current external and internal strategic position

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd