3,896 Topics
![]() | |
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 … | |
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. | |
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 … | |
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. | |
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 … | |
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 … | |
Hi guys.. I have a question.. If i have 24 in AL, can i retrieve only the 2 ??? | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
How would I execute a C/C++ program without using a windows library? (Like ShellExecute) | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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; … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Hi, I have an array of two string elements. Is it possible to store these two elements as one element in a register? Thanks. | |
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. … |
The End.