2,878 Topics

Member Avatar for
Member Avatar for utopia14

Hey guys I know little of C (specializing in JAVA) and my data structures course asked that I transfer this into MIPS using $a and $v registers... any help would be awesome! #include <stdlib.h> void *(memset)(void *s, int c, size_t n) { const unsigned char uc = c; unsigned char …

Member Avatar for andor
0
540
Member Avatar for khwan

hi friends i'm new here i'm trying to write an assembly program that generate random numbers, shuffle them and sort them in ascinding order i tried a lot and this is what i did but still there is problem so anybody who can help i would be more thankful [COLOR=red]#make_COM#[/COLOR] …

Member Avatar for Day Brown
0
153
Member Avatar for jfountain02

Hello, I just created a digital thermometer using a 8085 microprocessor. But the problem is we only had LM36 which measures temperauture in celsius, so we had to convert form celsius to farenheit, using hardware. But on a lab question the teacher wants us to convert the tempauture using software …

Member Avatar for mathematician
0
134
Member Avatar for reyhan12

How do i get user input in assembly? after getting the input, i'd like for the inputted value to be stored in a char array in c. i'm new to assembly and i am having a hard time trying to figure this out. i've tried a code like this and …

Member Avatar for Ancient Dragon
0
100
Member Avatar for reyhan12

hi, i'm trying to figure out how to mirror a given a value. for example: FF0A, i'd like to make it A0FF. i thought of a code like shifting it left 8x but i find it brute forceish. is there a better way? thanks

Member Avatar for reyhan12
0
71
Member Avatar for seth0x2b

Hey guys. Please bare with me since I'm only learning asm for about 48 hours or so.. I've learned enough to open files, read from/write to them... I know how to use the WIN API from within ASM and ..honestly, it's much simpler than C++ (IMHO)... So..I've written this basic …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for Corum

For a program I'm making the user needs to enter a string and then it will be checked to see if it is a palindrome. So far I've managed to reverse the ordering of the string entered so that I have the original string and the reverse version of it. …

Member Avatar for mathematician
0
169
Member Avatar for foxy xx

hi guys i'm trying to write a code that will ask a user to input a string and then check to see if its a palindrome when trying to run what i have done so far i get an illegal instruction error. i know its something to do with 'get …

Member Avatar for mathematician
0
113
Member Avatar for qaizaar

i have a project where i am suppose to encrypt or decrypt a message typed in by the user using the ceaser encryption algorithm and printing it back, i need some help in as to how to write the encryption alg, (ill figure the dec out from there), heres the …

Member Avatar for qaizaar
0
290
Member Avatar for seth0x2b

Hey guys. First of all its nice to see an assemly forum that still has visitors..everything I found on the net are old forums unvisited for about 2-3 years. I started learning win32 assembly ...well..last night :). I do have (some) programming background in Delphi and some c/c++, and also …

Member Avatar for Ancient Dragon
0
685
Member Avatar for SamY
Member Avatar for only_asm

Hey guys I got a pickle! Does anyone of u know how to implement Quick Sort RECURSIVELY in assembly language programming (8086 archi). If yes, kindly help me out guys ... Lookin forward to some 'ingenius' reply :) Takecare & be Good!

Member Avatar for Ancient Dragon
0
66
Member Avatar for embeddedravi
Member Avatar for Ancient Dragon
0
66
Member Avatar for utopia14

Hey fellow MIPS users... I'm new to the forums and new to MIPS, so I was hoping someone could help me out with a certain problem I'm having...[IMG]http://ubuntuforums.org/images/smilies/eusa_wall.gif[/IMG] I have to take the following code and optimize it... I know I can do this without the stack/frame pointers, so I …

0
69
Member Avatar for abdulgirei

pls i hve a source code for a digital alarm clock bt its for pic16c54a and i want to desiogn a digital alarm clock using pic 16f84a so here is my source code, i need an assembly language guru to help me do this pls. below is the source code …

Member Avatar for embeddedravi
0
220
Member Avatar for SamY

Could Anyone help me with the codes . Perhaps i can give you the ones for hard drives and keyboards laters coz i have 'em

Member Avatar for Ancient Dragon
0
189
Member Avatar for SamY

How can i create my own hardware and software interrupt, what are the codes sent to hardware to access information/data please help with the codes;)

Member Avatar for SamY
0
170
Member Avatar for SamY

Does it have to be 512 B nad ahve the signature 05AAH at offset 510 ? What about on CD Roms and HDDs?

Member Avatar for mathematician
0
87
Member Avatar for PaTchX

I am playing around with "patching" an old DOS 16-bit real-mode .exe, trying to change the machine code calls. The disassembled code is: [code=asm] push bp mov bp, sp xor ax, ax push ax mov ax, 1 push ax mov ax, 64h push ax ; location_X call f_drawDialogBox; 9a 06 …

Member Avatar for PaTchX
0
251
Member Avatar for belhifet

hi, first post here. It seems a very nice community. So, I know a little about 16bit DOS Assembly and also a little about 32bit Linux Assembly. I started learning Assembly out of curiosity, to understand C better and to learn exactly how the stack worked. I am currently learning …

Member Avatar for mathematician
0
211
Member Avatar for tatsumarhu2000

hi, im really new to this programming language and im having a hard time in strings. can anyone teach me how to compare strings the easiest way. what im doing is a login program and i have to compare the inputed username to a string. example: a = daniweb is …

Member Avatar for mathematician
0
21K
Member Avatar for paulfaz

Hi, Im just starting out attempting to learn assembly, and ive come across what is probably a really simple stumbling block.. The aid of google has failed me this time and im hoping someone on here can help me. I started writing a simple program that takes input for an …

Member Avatar for mathematician
0
143
Member Avatar for zahid392

actually i have to solve an problem for my versity project.the project is to display LED.if any body help me about this i'll be very helpfull all the project description given bellow a) The pulse generator and 8 bit IO by using switches for input and the LED display for …

0
61
Member Avatar for bnrup

I know absoulutely nothing about compiling source code other than you need MS Visual Studio to compile it. I have the express (free) version of it, can you compile in this version?

Member Avatar for Ancient Dragon
0
151
Member Avatar for foxy xx

ok guys i have 2 problems 1st - i am using textpad and i'm having problems with the compiler.. As advised i have dowloaded a86, i added it to textpad through the configure tab on the menu and choosing prefernces, tools, add and clicking on the a86 program icon.. i …

Member Avatar for Ancient Dragon
0
100
Member Avatar for dziugas

Hello, i am a student and need write an asembler program. for basic 8086 architecture. but i do not understand few conditions for a program: it says that program must output text to screen whit a [B]int 21, 40h funktion, and indicate stdout as output, with descriptor 1.[/B] what this …

Member Avatar for Ancient Dragon
0
94
Member Avatar for sg57

Hello. Im new here and at but a wee little age of 14, so go easy on me :-| Anyways... Before I begin, I want to make a note I can use inline assembly with C, so the loading and storing of the file's data into a buffer is already …

Member Avatar for Ancient Dragon
0
66
Member Avatar for msohail83

I am in dire need of a program for stopwatch. Can somebody help me with that? If you know how to write a code for designing a stopwatch, please help me. THANKS

Member Avatar for andor
0
50
Member Avatar for kraid

I just started with TASM 5.0, and I have a question. Is there a way to assemble the exe so I can use it in windows XP? I write TASM myproject.asm then TLINK myproject thats how I was told to do, but I cant run it in XP how should …

Member Avatar for condor666
0
231
Member Avatar for asm_2

-If u have a slower I/O unit, then can the CPU execute instructions while waiting on slower I/O? -In this case, this type of optimization works differently for different I/O units... -So why are there no smarter .exe files that orders the instructions for your I/O-usage? -Whouldn't that be a …

Member Avatar for asm_2
0
107

The End.