# Assembler: problems and solutions

Affiliates: 0,15 \$how to earn
Sold: 4 last one 17.12.2018
Refunds: 0

Uploaded: 23.07.2012
Content: sirec3120.zip 1972,77 kB
Loyalty discount! If the total amount of your purchases from the seller Кузнецов П.В. more than:
 1000 \$ the discount is 35% show all discounts 10 \$ the discount is 10%
If you want to know your discount rate, please provide your email:

## Seller

Кузнецов П.В. information about the seller and his items
offlineAsk a question

Seller will give you a gift certificate in the amount of 31,368 RUB for a positive review of the product purchased.

### Delivery Guaranteed

If you are unhappy with a product you purchased, the seller will return your money within 7 days from the moment of purchase.

## Description

Assembler: problems and solutions (Assembler tasks & solutions)

32 routine tasks on programming

TASK # 01

INITIAL DATA:

A number of 3-th number system, the number of B - binary.

The maximum length of A - 10 characters.

Color symbols blue, pink background.

NOTES to the problem with # 01 to # 06

CONTENTS OF:

1. Convert the initial number of A, represented in a notation in it equal to the number B, presented in a different notation.

2. Conversion result display screen in the desired colors.

3. Also record number in the file.

EXPLANATION:

1. The program shall consist of 2 separate modules compiled separately and are united on stage linking. The main module must perform all the functions associated with the I / O, and sub - functions related to transformation.

2. As the initial number of A, and the resulting number of B should be submitted in ASCII code.

3. Set the number of A is a landmark, the ´+´ sign can be present or absent, obviously.

4. When you enter the data necessary to provide validation of input characters and an error message when you enter an incorrect character.

5. When writing the result to a file you must make its completion, that is to write to the file.

TASK # 07

Form a one-dimensional array A {ai} (i = 1..30) (i varies from 1 to 30)

Elements ai array A is given by:

ai = | (i * 15) / 7 - (i / 2 + i * 3) |

Output array formed on the screen

TASK # 08

Form a one-dimensional array A {ai} (i = 1..25),

where ai is computed by the formula:

ai = (i + i / 3) * 2

Output array to the screen.

Further, in the formed array elements to move,

divisible by 3 and 5, to the left by 2 bits

(Ie, multiply by 4).

Display processed array on the screen.

TASK # 09

Generate and print a one-dimensional array A {ai} (i = 1..30),

where ai is computed by the formula:

ai = | (i * 15) / 7 - (i / 2 + i * 3) |

Find and print the minimum element in the array A.

On the basis of the array A to form a new array B,

where to put all the even elements.

Print an array B.

TASK # 10

Generate and print a one-dimensional array A {ai} (i = 1..30),

where ai is computed by the formula:

ai = i * 3 + i / 3

In the array elements A sort so that at first were odd, then the even-numbered elements.

Print the sorted array to the screen.

TASK # 11

1) Get the elements of a square matrix A = {Aij}, where i, j = 1 ... 10

Aij = ((2 ** i / (i + 5/2)) * i ** 2) * (2- (j-5) ** 2)

2) Find the maximum of the odd

3) Based on the matrix A to form two new array:

in the ´first´ to put all elements of the array A, the amount of units in which (in binary representation) is greater than 5,

in the ´second´ all other elements of the array A

TASK # 12

when you press the CTRL + S to display the contents of the root directory

when you press the CTRL + X to upload a program from memory

TASK # 13

when you press the CTRL + S to display the characteristics of the computer

when you press the CTRL + X to upload a program from memory

Features:

Is the coprocessor

Is the game port

the number of installed floppy drives

the number of installed hard drives (HDD)

the number of installed serial ports (COM)

the number of installed parallel ports (LPT)

restore the text on the screen

TASK # 14

when you press the CTRL + S to request the surface, track and sector

read sector from floppy disk

display data on the screen sector

when you press the CTRL + X to upload a program from memory

TASK # 15

when you press the CTRL + S to start counting the number of accesses to the floppy disk

when you press the CTRL + E to finish the calculation and display the number of hits to the screen

when you press the

## Additional information

Copyright © 1995-2015 Pavel Kuznetsov

## Feedback

1
Спасибо большое, за 200 рублей получил более 30 задач с подробным разбором. Советую продавца2018-12-17
Seller will give you a gift certificate in the amount of 31,368 RUB for a positive review of the product purchased..
In order to counter copyright infringement and property rights, we ask you to immediately inform us at support@plati.market the fact of such violations and to provide us with reliable information confirming your copyrights or rights of ownership. Email must contain your contact information (name, phone number, etc.)