2,888 Topics
| |
Hi! im trying to make a procedure wich saves what is on screen in a variable defined on the data segment (antes dw 2000 dup (?)). It compiles well but it freezes the program when it is called by it(program). BTW: this program is in textmode 80x25 16-bit and i … | |
Helo..plx help me for my project~ asembly langguange 8085 to show the number of sold item of 2 vending machine at 7segment display that only sold 1 type of item. and also the prizes of each item Then need to compare the performance of two machine.. | |
hi all. plz i need help , idon't know how to solve it if anybody help me and to discuss to me how can i write it in assembly program , and this is the question: ================ Write an assembly program that reads Quantity and Unit price as a string … | |
When you do something like [code] cmp eax,ebx ja start;jump if above start: [/code] Jump if above jumps if eax is greater or if ebx is greater? | |
hey i have a problem with a code that i cant figure out what it is im "fresh meat" in assembly so might be a few things what i tried to do is 1) open rnd.txt(65kb) file as read/write ( dump.exe it and you get hex numbers on dos) 2) … | |
Write a program in IBM PC assembly language to do the following: 1. Clear the screen and change the colour of the screen to blue (foreground) on white (background). (See INT 10 function). 2. Set the cursor to line 12, column 10. (See INT 10 function). 3. Read one character … | |
I am writing a supplemental program for the software that came with a programmable robot. The DLL structure has about 6 DLLs that I can reference, with another set that I need to load at runtime. The ones I need to load at runtime have a class inside them that … | |
Hello everyone I'm completely new to using SIM 8086 Assembly language and I've written a program here whereby the menu gets printed out and I get the user to input a string into an array but now I need it to count the number punctuation marks in the string and … | |
Hello all , I am having a problem in a homework which requires writing a recursive Binary search C code into MIPS The question says that you have a 16 sorted integers This is the C code [CODE] BinarySearch(A[0..N-1], key, low, high) { if (high < low) return -1 // … | |
trying to divide a float value that is in my FPU stack by a integer value that is stored in a register this is the code i tried first i'm positive that fstp is putting the value on the stack, because it's outputting it correctly any ideas? or should i … | |
Hi. I have a 'table'/array which has 0-255 elements (hex values). each element is 8 bits (eg 0xff). How do i set that up in assembly? Further more, i need a fast but variable time iteration method over my array. I was coding this in C# but it seems that … | |
Hello... I am learning assembly, and am reading "The Art of Assembly" book. I'm on chapter 4, and I can't figure out where is the error in the following code: "The last problem with pointers is the lack of type-safe access. This can occur because HLA cannot and does not … | |
I have a little program that I was testing strings with, for some reason when I add to much to a string variable, and run the program, the console cursor just flits around the screen (and the console doesn't clear, which is before any output was even supposed to happen), … | |
Hi, I wanna ask.. I want to make a procedure of 1 second delay for 8088 so far here what I have [CODE]debounce: PROC NEAR PUSH CX delay: MOV CX, 6000H ;24576 in decimal L1: LOOP L1 ; POP CX RET debounce ENDP[/CODE] so, can someone please help me..I don't … | |
Hi, I wanna simulate DIR command in MS-DOS with only listing function: Command line in Working Directory (EX: C:\MyFolder>_ ), when you type DIR, it'll show List of Objects (Files and subfolders in working directory) with: Filename,size, and date of file (subfolder). I don't know how to make it in … | |
i pushed a floating point into my stack fstpl -4(%ebp) how do i print this value store at that memory location in GDB using x command(value in hex and binary) | |
Working on this code to sum up real numbers from an array, it's 32bit architecture so i'm using ecx and edx to hold the upper and lower values of the floating point number as of right now the code will output the last real number from my array, and not … | |
Well I got a class assignment requiring the use of int 21h,0xa(string input). [B]Offtopic:[/B] The problem is the teacher is old, and doesn;t care about how right the things he teaches are and apparenlty he taught us things wrongly again -.- then it;s -15 points in the exam... He taught … | |
I have an array of real numbers in 32-bit architecture it holds he higher and lower order values in ecx, edx i'm able to enter them in into the array and output them as well but i'm having difficulty adding all them up here is code so far(gives a segfault) … | |
I'm having a problem with adding two single digit numbers that the user gives (Since they are ASCII I do the add 48 thing, I know that doesn't work past 9, giving some guidance on this would really be appreciated). Anyways, heres the code. variables: Value1 db ? Value2 db … | |
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WindowsFormsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void btnRom_Click(object sender, EventArgs e) { string[] Roman = { "M", "CM", "D", "C", "XC", "L", "XL", "X", … | |
hI all an thanks for taking time to read this :) my prob lies with speaking to the parallel port in xp using borland turbo for assembly. i have read a bt about it and it seems there are workarounds involving vb or c/c++ but. my project assignment requires that … | |
working on inputing floating point values into an array, then adding them up and getting a sum so far i have this code for it, but my flag that checks to see if an input is 0 to exit the loop for entering floats, keeps on going(endless loop) [CODE] %include … | |
HI,I am having trouble understanding if I have to ADD F4H and B1H(hex) ,what will be CF and OF (flags).Could somebody explain. Thanks | |
hi all, which flags are set if the conditions..such as the follow : signed graeter-than unsigned less-than unsigned greater-than explain needed~!! also what is the different btw JLE and JNGE, i know that JLE also set the ZF..what does that mean..? very appreciate for your help =D | |
how i can i incorporate it with my emu8086 emmulator | |
help me how>?to incorporate or insert the irvine32inc and macro.inc in 8086 emulator? | |
Hi I am trying to put letters in array ,before that I am converting capitals to lower case.Putstr,getch,putint are predefined macros Thanks [CODE] .386 .model Flat include Cs266.inc .data array DD 128 dup(?) promt DB "Enter a string of at most 128 characters: ",0 count DD 0 .code main: mov … | |
Hi! I'm newbie in asm, so i need your help. I need resident program "clock" that will show time in some corner on screen in resident mode and update time by 1Ch bios function. I already have simplae program clock: [CODE]OutStr macro str ;макрос виведення стрічки push dx mov ah,09h … | |
My professor taught us the bare basics and gives us questions on our homework that we essentially have to teach ourselves have to do. Any help would be appreciated! (use this for MIPS reference : [url]http://www.mrc.uidaho.edu/mrc/people...al/MIPSir.html[/url]) Here goes: 1. Write the binary representation of the smallest integer number that can … |
The End.