Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   task in assembler 8086 (https://www.warriorforum.com/programming/609727-task-assembler-8086-a.html)

zemzi 31st May 2012 04:26 PM

task in assembler 8086
 
I need help how to solve this task, I don't know how to solve first part which is for memory location. If someone know please help me. It is very important..

ENTRY RESULTS entrance examination: In memory location X is placed in an entrance exam results in the form:

Indeks - 2 bytes
points - 1 byte

Create a program in 8086, so that the screen will read the number of students placed in memory and then the location PRIEMEN will print the screen line by line

<INDEKS1>, <POINTS1>
<INDEKS2>, <POINTS2>
<INDEKS3>, <POINTS3>
<INDEKS4>, <POINTS4>
...

For printing use the macro.
example:
If the memory is written: 2 5 10 0 64 100 ... you need to print:
2 * 256 5 = 517, 2 * 0 64 = 64

517, 10
64, 100

SteveJohnson 31st May 2012 07:40 PM

Re: task in assembler 8086
 
how to dynamically allocate memory for an array in assembly 8086 using nasm - Stack Overflow


All times are GMT -6. The time now is 03:11 PM.