2,889 Topics
![]() | |
Im wondering is it possible to change c code to assembly code if its not thanks but if it is can some one give me sum pointers | |
Hi, I am trying to do some sort of intrumentation inside the assembly code generated by the pentium machine. Particualrly, I need to use some temporary register which can store some value. since x86 has only 6 general purpose registers I am not sure which ones are reused and cannot … | |
TITLE Integer Summation Program (Sum4.asm) ; This program we had begun to modify to allow ; for "PromptForIntegers" to use parameter passing ; rather than using globals [code] INCLUDE \Irvine\Irvine32.inc INTEGER_COUNT = 3 .data str1 BYTE "Enter a signed integer: ",0 str2 BYTE "The sum of the integers is: ",0 … | |
Hi, i need a program which formats the floppy. Can you help me about this problem? | |
![]() | Hello, I am Begueradj, I want to know if we could use more than one stack in the same Aseembler source code. Thank you very much for helping me. ![]() |
I am using Eclipse IDE on ubuntu 8.04, gcc 4.2.3, -masm=intel flag for intel syntax. I am using inline assembly in a C program by using asm();. If I want to [ICODE]mov eax, myVar[/ICODE] will only work if it is a global variable. How can i use local variables? | |
Dear Friends.. Am new to the Development World..Please Help Me with this Assembly Level program..] [B]1)Program in 8086 assembly language to do the Addtion of two 16 digit packed BCD number[/B] [B]2)Program in 8086 assembly language to do the Conversion of a 16 digit unpacked BCD number to packed BCD … | |
I want to learn [B]Assembly language[/B] in [B] [COLOR="#ff0000"]1 day[/COLOR] [/B] can anyone suggest me a BestTutorial on Assembly language using TASM v4.1? I know this is next to impossible. Still Please Help. Also please tell me sites where I could get some source code which has comments on each … | |
I am having trouble using the ceiling instruction. I am new to assembly and have never used the ceiling instruction before. My values before the instruction are $f10 = 1.1000005 $f12 = 1.0000000 the instruction I use is [CODE]ceil.w.s $f12,$f10[/CODE] the value that ends up in $f12 is 2.80260e-045 which … | |
[code] class Program { static void Main(string[] args) { int m = 0; int n = 0; Console.Write("Enter M : "); m = Convert.ToInt32(Console.ReadLine()); Console.Write("Enter N : "); n = Convert.ToInt32(Console.ReadLine()); Console.Write("{0} x {1} and {2} x 1 dimentional two matrix will be multiplied.\n",m,n,n); Console.Write("Enter {0} x {1} dimentional matrix … | |
[code] ORG $8000 NUMBERS DS.B 5 ;room for 5 input values BUCKETS DS.B 11 ;room for 11 buckets ORG $8100 BKTSORT LEA BUCKETS,A0 ;init array pointer MOVE.W #10,D0 ;init loop counter CLRBKT CLR.B (A0)+ ;clear bucket DBRA D0,CLRBKT ;do this 11 times LEA NUMBERS,A1 ;init pointer to input data LEA … | |
I've set my first steps into the world of reverse engineering. So a use -on heavy recommandation- SoftIce/WinIce and indeed, this seems to THE debugger. The problem is that I nowhere in the setting menu can find an entry point to change the keyboard settings. Opening a normal Dos terminal … | |
Hey Guys! I am new here and own my own website, cool hey! I am work'n on a project to make my own os. But i come to a full stop. The thing that get's in my way is MBR and bootloaders. I want to make my opearting system open … | |
Wohoo, first post. I have a problem with my code, the problem is that instead of writing "%" in res, when the pattern "%%" shows up, it writes it out as "%%" anyways. Currently I have it working so it works as strcpy. Seriously, I don't understand what I'm doing … | |
does anyone know how i can convert decimal number into binary and vice versa, using LC-3. | |
I need to write an lc3 program that calculates the square root of a number. It needs to be done using the Newton method. Can somebody please help me? | |
hello everybody. the project im working on asks me to propmt the user once to change the background color and once to change the foreground (text) color. right now my program prompts the user...but not with the message i have in the data segment...it spits out some unattractive code. could … | |
hey everybody. i've got what might be a simple question about return values of subroutines in assembly. okay here goes. say i've got a subroutine that under normal conditions will do a normal return (RET), and under one condition will return zero (RET 0). so now back in main after … | |
I am final year student. my final year project is designing digital alarm clock. i want to display digital clock at computer screen and i have worked on it for 2 days but still cant find a way to do it. can anyone pls write a program running in 8085 … | |
Assembly is one of the least langauges that I havent done, Have heard about it and its complications, but I neva get to know what do u use it for or in which areas does the language alone excel for example C++ is more suitable for games.... know what I … | |
Hi, i have been googleling around the solution for this but dunno how. Following is my problem: 1) I will like to check which 2 integer value is negative and which is not. 2) After doing division, i will like to have the quotient and remainder , together in a … | |
Hey everybody. I'm working on a project in which I need to at many points (279, to be precise) throughout the program set a registry to a certain value. Here's how I've been doing it; and R0, R0, #0 ; Set R0 to decimal zero. add R0, R0, #10 ; … | |
![]() | i want to make my program complete a task when the user begins shutdown |
Hi, we are currently having an console application in C# and asp.net. Its a client server socket programming. We have to convert it into assembly langugage. We are going to implement in linux server Kindly let me know which assembler and linker have i to download (free download). And please … | |
hi all i have this code and now i need to print it char yes and char no i.e.- the sentce is my-second-exercis and now i need to print it m-eod-xri how do i do that? then i need to print the first sentence backwords how do i do that … | |
I'm new in assembly and was trying to get this program to work, it supposed to calculate the square root of any integer but i don't know how to load the ax into stack, get the square root and return the value to the c++ variable, that was the closest … | |
hi guys there something wrong with this code that i cant quite figure out.i susoect that one of the tables is too long because when i reduce the length of table 1, the code seems to work. this code is for moving sign display and i need all the stuff … | |
Team Program Project (PrimeNumberProgram) Comment ! Description: This Program sets the Zero flag if the integer entered by the user is prime. (A prime number is evenly divisible by only itself and 1.) ! INCLUDE Irvine32.inc .data heading BYTE "--- Prime Number Program ---", 0dh,0ah,0dh,0ah,0 prompt BYTE "Enter an integer … | |
Hey everyone and anyone who reads this. I'm trying to make a program that can have a function prompt for 2 integers: void InputNumbers(int & num1, int & num2) find the GCD of any 2 integers: int gcd(int num1,int num2)" and finally display the GCD. void DisplayGCD(int answer) This is … | |
This is a simple question but I can't seem to find a good answer from searching endlessly on Google. Do the basic implementations of the 68000 support nested exceptions? if so when you execute a nested exception does it RTE to where it was called within the previous exception? and … | |
I have an assignment to do a linked list in mips, but i cant find a good starting point, can someone offer some insignt, and also wouldi t ever be useful to use a linked list in mips? | |
Hello! I need to implement a set greater than and a branch less or equal in my 16 bit ALU design,but I'm having many difficulties. I know that in a set greater than a>b equals a-b>0 ,but I don't know how to work out from that and implement it in … | |
Hello respected members, I have installed visual studio 2005 on my new dell xps 1210 m laptop, with MASM 8.0 since i am taking the assembly language class. The problem is it doesn't work because i am on the windows vista operating system. Can anyone help me resolve this problem? … | |
I am new to assembly and really to programming in general. I have completely 1 MIPS assignment in my course so far, and it was merely to display a string. This 2nd one that I am working on is much more complex. I am to take up to five integers … | |
Write the programs that prompt the user to enter a string in capital letters, of a maximum length of 20 characters. Read the string in capital letters and convert it to small letters. I have to use this code put i don't know how To convert the capital to a … | |
![]() | Hey guys, I'm looking to make some pulsing LEDs and I believe PWM is the way to do it, I'm new to ASM and don't really know how it works. Datasheet is like reading chinese to me. Could anyone please help me out with how to get started? |
im doin project in 89s51 microcontroller.....i hav its assembly code ready with me but now i want to convert it to C language but im unable to do so...its very important nd urgent to me.....plzz ca anyone help me out with this...... | |
I have a project. please help me...... Write a program in C that do the following. 1. Accepts 1 parameter. The parameter is the filename to be processed. If there are no parameters, or if there are more than 1 parameters, show an error message. 2. Opens the file and … | |
I have this assignement and i have no idea how to code it...i was hoping that one of you guys can help me out here...thanks in advance!!! Description: This is a 2 part lab assignment (labs number 6 and 7). High-Level languages, like C++, take advantage of pre-written and compiled … | |
Ok so I have some works in MIPS and have never used it before. the works is that I should create 1000string by using 0-9, a-z(lowcase); under 10 characters. the string must start with an alphabet. and then.. sorting that ...(by using Quicksort...) Sorry.. I so foolish in MIPS. I'd … | |
Good morning to all! In these days I am studying the Z80 Assembly Language. To practise myself, I usually use a simulator, but now I would buy it. How can I program this processor? Which assembler do you recommend me? Best regards, Angelo Luparello | |
Hello! I'm having problems figuring out how to extend the datapath and blocks used for ble and sgt instructions on MIPS32. After studying a bit I managed to code the instructions for ble and sgt: [CODE] slt $t0, $s2, $s1 beq $t0, $zero, less_equal //////////////////////////// slt $t0, $s2, $s1[/CODE] Any … | |
I'm writing a program using the LC-3 Simulator with limited instructions. I'm trying to solve the problem "n choose r" recursively. I'm having difficulty pin pointing where my programs going wrong. Any help would be greatly appreciated. [CODE] .orig x3000 ;Clear registers and r0, r0, #0 and r1, r1, #0 … | |
Is it possible to set 4 80x86 processors up each of the registers EAX, EBX, ECX, EDX storing 32 bits of a 256 bit variable? | |
Hello. I just started with assembly. In my emulator (emu8086) this code work perfectly. But when i write it out to a floppy it doesn't work. I know that if i write out one letter at time, it works. Is it impossible to write this way? [CODE=asm]#make_boot# org 7c00h jmp … | |
I am making an interest calculation program and can't figure out how to get the integer number input by the user into a decimal number. For example I don't know how to make 5, into .05 in MIPS assembly language. I've tried div but I can't get it to work … | |
[I]Hello, this is my first thread. I'm a freshman in Computer Engineering and currently taking Intro to Computer Systems with Yale Patts & Sanjay J. Patel's book. I've been using this wonderful website to help better understand the computer language world. [/I] [I]We are currently beginning to write programs and … | |
Hello,i am new to the forums. I am in need of help.I have got 3 ASM's witch link together. I put the main one in the ASM to EXE (TASM is what i used) but instead of getting the file i need i get a error that it cant find … | |
can anyone please give me a simple code of an a86 assembly calculator that can execute +,-,*,/ functions... i really need help... hope anyone there can help me... thanks... | |
I have to make a program that takes a user entered deposit and interest rate and then calculates the balance for 5 years. I can't figure out what I'm doing wrong. I always use the deposit amount of 1000 and interest rate of 5 therefore for the five years the … |
The End.