3,896 Topics

Member Avatar for
Member Avatar for sgk26p10p07

heya why is it that wen i switch back to real mode i cant access real mode interrupts even when i never modified anythang like for instance this code mov EAX,CR0 OR AL,0H MOV CR0,EAX;THEN SWITCH BACK TO REAL MODE MOV EAX,CR0 AND AL,10B MOV CR0,EAX ;THEN INT 10H MOV …

Member Avatar for sgk26p10p07
0
59
Member Avatar for crazygray

I read somewhere that in order for the OS to take control away from a task that you would set up an int to fire every time a certain time passes. How would you set one up.

Member Avatar for crazygray
0
67
Member Avatar for pci16f628freak

i have couple of months trying to learn how to compile programs in assembly and it's very interesting. by now i'm working on 2 projects. i have to say that i'm a newbie in assembly but i'm trying :) the 1st is a hex counter which counts from 00-0F and …

Member Avatar for Colin Mac
0
163
Member Avatar for Chepas

I have managed to read a file name and two strings. Now I need to search the file for a lines that maches string1 and replace them with string2. And I have no idea how to do that. Can anyone help me please.

Member Avatar for Chepas
0
118
Member Avatar for PricklyPoo

Alright I am new to assembly but I cannot figure out the simplist thing even though I have looked for hours. I want to make a very simple program that finds the default drive and prints it. So that would be 19h and interuppt 21, that gets the current default …

Member Avatar for PricklyPoo
0
110
Member Avatar for pdrino

Hi everyone, i need to write a code with mips assembly that works on a string given by a user (command line input). The code is supposed to search another given string in that string. There is a problem in my mind, in mips is there any instruction that search …

Member Avatar for pdrino
0
100
Member Avatar for zeropulse
Member Avatar for Duoas
0
97
Member Avatar for complete

I have written some simple C# programs just to get my feet wet. Now I have decided to build a co-workers program and step through it. I am not used to all of the problems that might arise when building a C# program as I would a C++ program. I …

Member Avatar for Ramy Mahrous
0
131
Member Avatar for PSCHMurthy

Hello, can anyone help me in writing the 8051 C program using keil.I mean which predefines are imported(i.e like #include<stdio.h> in C language). Thanks for your help. Regards, PSCHMurthy

Member Avatar for Duoas
0
31
Member Avatar for Queatrix

I have been a C/C++ programmer for 4 years now, and now that I'm actually reading a tut on it, I have to say, I am impressed! The whole concept of the DS really is cool; and it's flexability is the best I have seen. While I was reading one …

Member Avatar for Duoas
0
86
Member Avatar for AqAbAwE

hey guys, I was wondering if interrupts works with wireless-USB keyboards, I wrote a code thats reads a key and displays it, but its not working, I thought i'd check whether the keyboards is causing the problem or not. [code] mov ah,06H mov dl,0ffh INT 21h mov ah,06h mov DL,AL …

Member Avatar for Ryu
0
89
Member Avatar for MattVonFat

Hi, I tried having a go at creating my own boot disk that would write text to the screen. The code is here: [CODE] ;---------------------------------------------------------------------- ; Simple boot program that prints the letter 'H' ; and then hangs ; Joel Gompert 2001 ; ; Disclaimer: I am not responsible for …

Member Avatar for Ryu
0
611
Member Avatar for Khyaal

respected members., I am new to this forum and newbie in Assembly. I have an assignment, Plz help me to solve this. Thanks. Assignment Write a Assembly Language Program;(com file and source code) Which print your complete name and your city name at the middle two rows of the screen …

Member Avatar for Salem
0
78
Member Avatar for mahtab

how to use instruction for float numbers? for example how does 'fsin' or 'fcos' work? e.g we have an array of float numbers,and we want to calcuate the sine & cosine of each member of this array...,what should i do exacly?:-/ please heeeeeeeelp me:S

Member Avatar for Salem
0
52
Member Avatar for Queatrix

How would I execute a C/C++ program without using a windows library? (Like ShellExecute)

Member Avatar for Queatrix
0
152
Member Avatar for daveymilla

Are all device drivers written in assembly language? Would an assembly language programmer be able to hi-jack aany printers functions so that he might get native control over print head( x,y loc) upon page and ink squirt control? Is assembly language programming a lucrative area of coding work? Do assembly …

Member Avatar for Duoas
0
121
Member Avatar for tifka

Hey I am trying to create a assembly program to do CRC. So it accepts user input, runs it threw CRC and give it back. Can anyone give me any hints on how to do this in ASM

Member Avatar for tifka
0
91
Member Avatar for crsurfer

Hey guys i have a homework for tomorrow but no idea how to do it... i need the turbo assembler code for this problem: i need a program that only add or substract 2 numbers ( 2 digits each one) and display me the result if u want to end …

Member Avatar for Salem
0
58
Member Avatar for Queatrix

I have tried to assemble the following code in TASM and Flat Assembler, but they both give an error for every line of code. What is going on? How can I get the assemblers to assemble the * code?? Thanks for any help you can provide. [code] [BITS 16] [ORG …

Member Avatar for Queatrix
0
137
Member Avatar for chubajj

Hi guys Im making a program in assembly that copies all of the text files from one folder to another , the problem that i have is how to join the path from the folder whit the name of the text files that the program reads. Ex: dest folder: num1 …

Member Avatar for Duoas
0
62
Member Avatar for Dr_computer

Hi guys, i am new programmer by assemply language so i want solution for this small program program to display the extended ASCII character (ASCII codes 80h to FFh) .display 10 characters per line,separated by blanks.Stop after the extended characters have been displayed ones.

Member Avatar for Salem
0
122
Member Avatar for djtroz

I'm going crazy and hope someone could assist. I recently bought a barebones to upgrade my existing system. My challange is to keep my main IDE as primary/boot with the existing O/S (XP Pro) and add on 3 additional IDE drives using SATA coverters. The other 3 drives have data …

Member Avatar for DimaYasny
0
265
Member Avatar for Kunibert

Hello everyone, I have a problem with a newly assembled PC. First, here's the specs: Athlon X2 5200 Asus M2A VM OCZ Gold PC6400 2x1gb 1xSATA 160gb earhwatts PSU 500w So I put everything together (made sure I was grounded and handled everything as carefully as possible) and booted up …

Member Avatar for bobbyraw
0
99
Member Avatar for stevex

Hello Danni Webbers: Here is a way to save up to fifty percent on your water heating bill. I have been using this device for almost twenty years now, and it has never needed any maintenance at all. You will need a old plastic fifty five gallon drum, or something …

Member Avatar for Ancient Dragon
0
166
Member Avatar for Ninjikiran

Hmm,I understand by using repne scasb, pointing DI to the base64 string is supposed to search the string for the character that is in the input but not much of how to use it for decoding purposes. Anyway I been looking at the idea that, using the same example Man …

Member Avatar for Ninjikiran
0
163
Member Avatar for sammmy

Hey there am assembling a pos terminal that is using tcp/ip for communication. Has someone got an idea of how i can buffer the received string response from the backend server and use the buffer to print out the request from the terminal? Regards Sam

Member Avatar for Duoas
0
67
Member Avatar for bajanpoet

I had created an application that worked, was deployed and used for a while before someone asked for an addition. When I tried to run the completed executeable file, I got a System.InvalidOperationException error immediately. When I opened the source code and tried to run it before making any changes, …

Member Avatar for bajanpoet
0
342
Member Avatar for sbenware

I'm getting the following errors at compile time in Cygwin using gcc, but I'm not sure what they mean. My program runs without problems. Do I need to change the names of these operations? I'm afraid to tweak anything since it's working. 42: Warning: translating to `fmulp' 53: Warning: translating …

Member Avatar for sbenware
0
216
Member Avatar for Ninjikiran

Hey, im trying to make an assembly program which encodes a file using base64. Anyway I have a program that works in converting the word "Man" to TWFu. Problem is it does not convert anything else but a few 3 letter words like Tan and Ban probally because of its …

Member Avatar for Ninjikiran
0
157
Member Avatar for diamondman

I have been wanting to see how the basics of software work for some time now, and I thought what better than Assembly! Unfortunately, most places I look show me how to call DOS interrupts or make Windows software. This just doesn't suit my needs. I did find a few …

Member Avatar for diamondman
0
74
Member Avatar for youmak

Hello to everyone :) I'm new here :) I have some problems with MIPS, I would like to aks for help or advise, how to copy/move content of the normal register of CPU unit (register like $t0,$t1 and so on) to FPU cooprocesor (register $fp0,$fp1) I have in register $t0 …

Member Avatar for youmak
0
389
Member Avatar for OnIIcE

Hello, im trying to make a function that can paint a box of any size (and colour, using any ascii char) to the screen in order to make a game in asm. My problem is, when i try to make it print just one full line, it dosnt seem to …

Member Avatar for Evenbit
0
203
Member Avatar for Skwisgar70

I'm required to do a 2-D bubble sort for an assignment in an asm course, but for whatever reason I cannot make it work. I can write one in 3 minutes in C++, but ASM just kicks my ass. In this instance I'm using a C++ file to make the …

0
57
Member Avatar for walter38

I am ruuning DATASTAR DATABASE(OLD DATABASE) WRITTEN IN ASSEMBLY---WHEN I run a batch file--I get a DIVIDE OVERFLOW---when I sort--I get a OUT OF MEMORY-- DATASTAR IS A VERY SHORT ASSEMBLY PROGRAM---CAN ANYBODY HELP WALTER

0
58
Member Avatar for nikki_2000b@hot

Hey there, I am writing MIPS assembly for computing the gcd of two given numbers (recursively), but am struggling! I vaguely understand changing the frame point counter, stack pointer etc. but I'm really at sea with how to implement the algorithm recursively (e.g. how to check if each number is …

Member Avatar for Duoas
0
2K
Member Avatar for mr.lemarc

Hi Stumbled on this forum last year while I was in c++. Unfortunately, I am now completely surrendering myself to your guys input, because I am truly out of breath and energy to push through any further with my lab project. Here is my class' project objective: --Design and implement …

Member Avatar for Colin Mac
0
175
Member Avatar for hsanjakd

Hi All! I have a programming assignment that ive been trying to work on. Recently, ive successfully wrote it in java, but im trying to use that as psuedocode so that i can transcribe it into mips - but i dont understand this stuff! ive been reading this book but …

Member Avatar for ithelp
0
89
Member Avatar for mr.lemarc

Hi Stumbled on this forum last year while I was in c++. Unfortunately, I am now completely surrendering myself to your guys input, because I am truly out of breath and energy to push through any further with my lab project. Here is my class' project objective: --Design and implement …

Member Avatar for Salem
0
423
Member Avatar for Destini

edit: sorry strcopy not strcat Hi I'm new to MIPS and just need some basic clarification on what is actually going on here. I'm trying to make a copy of string1 into string2 by reading through the string copying each bit seperately, and stopping at the 0 terminator: [CODE] .data …

Member Avatar for Destini
0
1K
Member Avatar for adida948

Hello. I am having a very hard time trying to encode a file and then decode it again so i can end up with the original file. I want to transform the content in the original file into base 85, and perhaps 100 charaters or more so that it works …

Member Avatar for Duoas
0
472
Member Avatar for clockscan

Hello, I am hoping to get some code for the following problem I need to verify that a user input the time in the following format: cout<<"please enter the start time(hh:mm:ss): "; cin>>stime; //Verify user input time correctly cout<<"please enter the end time(hh:mm:ss): "; cin>>etime; //Verify user input time correctly …

Member Avatar for Narue
0
89
Member Avatar for matticus1181

I'm taking a class in sparc assembly, and I'm having a hard time with this concept. We're supposed to add two numbers together that can have as many as 100 digits. Since this is too many to fit into one register, I have to save them in memory and then …

Member Avatar for Duoas
0
170
Member Avatar for johnroach1985

Hi. I am trying to figure out this code I found on the net that allows users to chat with each other. It gives a thread error that I just can't fix. Please help me. This is the Form1.cs file [CODE]using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; …

Member Avatar for johnroach1985
0
209
Member Avatar for art vandelay

Hey people. I'm trying to build a loop to move from Arthur Vandelay to Tim Pennypacker, to Bob Sacamano. I know how to move from 54 to 21 to -2 and so on but I can't get the code right to move from Arthur Vandelay to Tim Pennypacker. I know …

Member Avatar for Tight_Coder_Ex
0
147
Member Avatar for therealsolitare

Hey everyone, How do two-dimensional arrays work in MIPS? I've found a couple of sites that have told me how to set up a multi-dimensional array, but they aren't really that clear on how to access the data on the inside. My array is set up as such: board: .word …

Member Avatar for Duoas
0
3K
Member Avatar for jegspam

I'm attempting to revisit assembly after several years of not having used it at all, and I'm having a bit of trouble with simple I/O. My program is designed to read a number from the user and spit it right back out. The "%c" is simply to remove the newline …

Member Avatar for jegspam
0
217
Member Avatar for transanmol

Hey friends, please help me as soon as possible, I just need the assembly(ASM) code for an 8086 for a simple PC Alarm clock, that just allows the user to set alarm and that plays an mp3 or any other format at that specified time. Its absolutely fine if the …

Member Avatar for Tight_Coder_Ex
0
248
Member Avatar for -EquinoX-

So I am asked to write a function called parens that will allow me to do this. Say that I have a string (a + (x) * (6 + 14) - q7), then I will get: (x) (6 + 14) (a + (x) * (6 + 14) - q7) the …

Member Avatar for Duoas
0
81
Member Avatar for boosh

Hi, I have an array of two string elements. Is it possible to store these two elements as one element in a register? Thanks.

Member Avatar for boosh
0
97
Member Avatar for agrawalashishku

Hi I am coding in x86 DOS. When I write a code and assemble it and run it in debug, it works perfectly fine but if I run i as a standalone application, it works for small 3-4 line code but not for 8-9 and larger code. PLease Plesae help. …

Member Avatar for mytime19
0
84

The End.