2,888 Topics
| |
I have an exercise in my university an it is very important!!! I have a message file with this inside (22ΓAΓAP__ΓPΓP΄_΄_¥P¥A¥A΄2΄2¥2–A–A‡2‡2x2iAiAxPxPi_i_x_‡P‡P–_–n–}–}‡n‡nxni}i}xxi›i›x›‡‡–›–›¥›΄΄¥}¥n¥n΄}΄}ΓnΓn}ÛÛ) 128 numbers 1 byte each one and another program a genarator of random nymbers (random.asm) .model small .stack .data crypto db 16 dup (0) .code mov ax,@data mov ds,ax … | |
Hello there, I am trying to self-learn some Assembly and just picked up The Shellcoder's Handbook. There is a short C program regarding a triangle in Ch. 1: [code=C] int triangle (int width, int height){ int array[5] = {0,1,2,3,4}; int area; area = width * height/2; return (area); } [/code] … | |
I've have tried to make a function that reads process memory in another process. I have made a function that writes memory which works perfectly, but when i run the function ReadProcessMemory it comes with the error: "Access Violation". The weird thing is it works fine when I do it … | |
Hello! I am enjoying trying to learn assembly, I would like to do a code that get from program args numbers and put them in an array. Then I need to print them all. But I cant get it to work, I guess I am making something wrong with array … | |
Here is my awful attempt at converting this: [code] int a=0; if(a!=80) { a+=1; } [/code] to assembly (NASM): [code] push cx mov cx, 80 loop: je short endloop mov al,0xDB call kputchar add word [d],1 cmp cx,[d] endloop: pop cx ... d dw 0 [/code] I am not very … | |
I'm looking at a thread info block at fs:[0] and everything looks fine, except the stack base and limit are $50000 and $70000, which are okay, as I asked for a stack size of $20000. HOWEVER, the actual ESP is up at $02EExxxx and I can follow the stack chain … | |
Hey! I was wondering should I learn assembly as I know C++ pretty good now and I look forward to new things to learn. I remember someone said that you should learn assembly then you know really how to program. So what help assembly could provide to me, is it … | |
Hi , these days I'm reading the brans kernel development tutorial. and doing it's particles. So last I find to had to read Intel 80386 programmers manual by intel. In section 2.6 Interrupts and Exceptions I asking a theoretical question here. They said Exceptions are synchronous and Interrupts are asynchronous. … | |
Can someone run my mips code? I'm using pcSpim as my simulator The issue I'm having is that it doesn't correctly output the number of othercharacters. Other characters would be like !@#$%^&*()_+-=.,<>?/ \ The other problem I'm having is that it doesn't output the number of characters there are in … | |
I need help with my code. this is a simple calculator. My addition seems to work fine. but in subtraction, when the answer is only one digit.. the first digit seems messed up. Special character shows up. This program is supposed to be accepting 2 digit number, example 02 + … | |
Hello everyone, I am new to assembly, and I am trying to learn it. I was given a book by one of my professor to read over the Holidays unfortunately the book assumes basic knowledge in Assembly (BTW, the book is "See MIPS run linux") I just have some basic … | |
a) If the content of d0 is $30 state in words what each of the following numbered instructions will do when placed immediately after the test instruction below tst d0 a) bne fred b) If the content of d0 is $30 state in words what each of the following numbered … | |
Okay so I working on this program where I have to input a string and then display the character distribution in that string. For example: if the input is “[B]minecode[/B]” the output should be C – 1 O – 1 D – 1 E – 2 I – 1 M … | |
plz any help in this code in assembly by emulator8086 [B] the code about[/B] a classroom has 25 students their numbers and grades in the microprocessor course are stored in the memory .it is required to rearrang them in descending order according to their grades. the inputs are two tables … | |
hello everyone how to play sound via PC internal speaker? using emu 8086. example: musical note use 61h, 42h ports. how to work IO ports. please | |
can u help me with this problem: Write a program that will be able to examine every character in a string to see if matches the character supplied by the user. i. Ask for an input string (up to 4 characters) from the user. Display each character to the screen … | |
Hi Every one i need 3 program below assembly code or their algorithms;please help me : [B][COLOR="Red"]1- Multiplying two 10 digit numbers 2- Dividing two 10 digit numbers 3- Square two 10 digit numbers[/COLOR][/B] please help love you thanks | |
i want to make a car waiting meter program using microprocessor assembly language , in the car parking a car waiting is used the drive puts a mount of money and this meter will allow him to park his car for a specific time 1pound=5minutes ,5pound=30min , 10pound=60min if the … | |
sorry for this interruption.. May i ask you sir about our project.? It is a round medicine organizer that will alarm at a specified time that the user set. It's like a pizza pie that has 7 pies (compartment of the medicine). This what we want to happen. When the … | |
Hello Everyone, i'm new to assembly language programing i would like to write a program that will print prompts to enter two values and a code #. If the code # is 1, output the greater of the values.... otherwise it should output the lesser here is what i have: … | |
Consider the following C++ program fragment: [CODE=c++]int a[1000]; int b = 0; for (int i = 0; i != 1000; i++) { b = b + a[i]; }[/CODE] (a) Write a MIPS assembly program which corresponds to this program fragment. (b) Unroll the loop in the program 4 times in … | |
Hi everyone. I'm fairly new to programming with spim. This is the first time I've tried to multiply numbers and I keep getting errors! I looked up on 'SPIM quick reference' how to do multiplication but can't get it to work. Any help would be greatly appreciated :) PS. I … | |
please can any one help in this by mips :(quickly) You have to write a MIPS program that multiplies two 3x3 matrices. The two matrices are defined for you in the code. The program then prints the two matrices and their product. You should use loops to navigate through the … | |
Hi there if there is anyone who read this I need help with my project, and sorry for my english :) I"m working on a Stop light project where I need to light up 3 LEd like a stop (traffic) light , The LED are conected to the PC by … | |
Hello, can someone help me to figure out how i can print the content stored in si ? suppose i did: sub si,si inc si ---> repeated this few time. how can i print the number in SI on the screen? | |
| |
Pls anyone tel a good tutorial site to learn turbo assembly language | |
what would be the recursive implementation of the following c program: int fact(int n) { if (n == 0) return (1); else return(n*fact(n – 1)); } | |
please can anyone help me with this homework i do not know what to do. thank you 1. Write a program that will count from any user-inputted number to 0. For example, if the user inputs 5, the program should output: 5, 4, 3, 2, 1, 0. | |
Hi, i'm new in this forum and i need help with mips assembly. I wrote this code but i can't found the error. [code]#Convert from decimale base to binary one using recursive procedure .data prompt: .asciiz "Insert decimal number: " output: .asciiz "The number in binary base is: " .text … |
The End.