2,888 Topics

Member Avatar for
Member Avatar for gpos7

I have an exercise in my university an it is very important!!! I have a message file with this inside (22ΓAΓAP__ΓPΓP΄_΄_¥P¥A¥A΄2΄2¥2–A–A‡2‡2x2iAiAxPxPi_i_x_‡P‡P–_–n–}–}‡n‡nxni}i}xŒxŒi›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 …

0
41
Member Avatar for JackintheMox

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] …

Member Avatar for JackintheMox
0
155
Member Avatar for Icemens

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 …

Member Avatar for Icemens
0
290
Member Avatar for brunooo

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 …

0
72
Member Avatar for easy2mem

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 …

Member Avatar for gusano79
0
115
Member Avatar for Ancient_Hacker

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 …

0
40
Member Avatar for Silvershaft

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 …

Member Avatar for nezachem
0
113
Member Avatar for NicAx64

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. …

Member Avatar for NicAx64
0
190
Member Avatar for Noliving

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 …

Member Avatar for lacialec
0
275
Member Avatar for louise07

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 + …

Member Avatar for elenov
-1
3K
Member Avatar for myamzen

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 …

Member Avatar for nezachem
0
154
Member Avatar for stamford47

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 …

Member Avatar for stamford47
0
70
Member Avatar for vista

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 …

Member Avatar for sDJh
0
6K
Member Avatar for ibrahim_commu

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 …

Member Avatar for NotNull
0
78
Member Avatar for Happy Family

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

Member Avatar for NotNull
0
60
Member Avatar for umarslayer

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 …

0
42
Member Avatar for navidabedpoor

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

Member Avatar for kolosick.m188
0
56
Member Avatar for wiza

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 …

0
47
Member Avatar for jianina07

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 …

Member Avatar for jianina07
0
196
Member Avatar for JhonRR

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: …

Member Avatar for jianina07
0
198
Member Avatar for mtfudi

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 …

Member Avatar for kolosick.m188
0
72
Member Avatar for gazza123

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 …

Member Avatar for afuller454
0
522
Member Avatar for adm

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 …

0
52
Member Avatar for dragan-amon

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 …

Member Avatar for Nick Evan
0
90
Member Avatar for Blackeagle

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?

Member Avatar for NotNull
0
121
Member Avatar for cliffaem28
Member Avatar for murugeshkumaran
Member Avatar for cliffaem28
0
50
Member Avatar for shopnobhumi

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)); }

Member Avatar for eng.ehsan07
0
126
Member Avatar for 825

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.

Member Avatar for b1083
0
114
Member Avatar for obini

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 …

Member Avatar for obini
0
2K

The End.