2,879 Topics
| |
hi guys, im having a problem with my homework regarding assembly, to be more precise, programming for the microchip pic16 series. heres the thing, im really a noob and i dont figure it out at all, i have this homework so please if someone knows to solve it or if … | |
Hello all! I'm new here I was looking through a program and I was wondering what this instruction is: [CODE]LEA EAX,DWORD PTR SS:[EBP-34][/CODE] I know that LEA moves the offset of the second argument into EAX but I don't understand the segund argument very much: [CODE]DWORD PTR SS:[EBP-34][/CODE] I'm guessing … | |
Ok so I am interested in learning some assembly so that I can create programs for my windows xp operating system. I have looked through some tutorials and the one on here but I am still lost on what to do to get started. Could someone hook me up with … | |
Is there anyone who knows how to locate the file pointer and display its value? I am currently doing an assembly program that searches for a string in a given file and returns its offset from the beginning of the file. For example, the display would be "string found at … | |
I need a screen saver by assembly language. please help me | |
Today when I do some assembly in vista, I find that the masm does not support it.Who can tell me the right edition can suport vista? | |
pushl $3 pushl $2 call power addl $8, %esp pushl %eax pushl $2 pushl $5 call power addl $8, %esp where shall save the return value of function power after it`s second calling , i mean probably in %eax , but shall be overwritten the old value of %eax or … | |
firstly hi everyone. i made a calculator using mips assembly but it works with integer numbers. a normal calculator must be work with double or float numbers. i seek for it on the internet but i cant find how to use float double numbers in mips. finally i ask ,does … | |
can you tell me do they differ a lot ? | |
Hi u was just studying about register in the cpu and surfed the net to see their defenition and try to understand their purpose. However it turned out that some of the results were a little bit complicated and with difficult english. Related registers : Segment Index Stack thanks for … | |
Ok, so far i have 2 strings inputed from keyboars into stringA and stringB, defined as db now i need to count how many times is string B appearing in A and output that number. Max lenght of strings is 29. I think it should be done in 2 loop, … | |
Hello, I'm fairly new to programming, with little knowledge of assembly languages. I had a quick question on a program I am working on. I have to use LC3 to make a simple calculator. I have everything down, I just can't for the life of me figure out how to … | |
hello guys i need an assembly code program witch is calculator that can calculate 4 main operation( +, -, * , / ) and work for floating numbers . thank u if you reply me:) | |
Hi guys ! I'm currently reading "Programming Ground Up" by Jonathan Bartlett ([URL="http://www.amazon.com/Programming-Ground-Up-Jonathan-Bartlett/dp/0975283847/ref=sr_1_1?ie=UTF8&s=books&qid=1211474405&sr=8-1"]Amazon[/URL], [URL="http://savannah.nongnu.org/projects/pgubook/"]Book's page[/URL], [URL="http://download.savannah.gnu.org/releases/pgubook/"]Download Book[/URL]) The program toupper.s in Chapter 5 frustrates me to some extent :-) It's working fine, no problem. But There's a certain part, I just don't understand. Where does the computer know to start … | |
Hey there! I had to write a programme for MIPS/SPIM, which reads floating point numbers and returns them bit by bit at the shell. So this is, what I managed to write: [CODE].data var1: .float 0.00 var2: .float 2.0 var3: .float -0.123 txt2: .asciiz "\n" .text main: addi $sp, $sp, … | |
My bootsector is meant to print something - it does, but wierd characters follow it? e.g the spades symbol [code] ; Boot.Asm ; Tell the compiler that this is offset 0 - it isn't offset 0, but it will be after the jump. [ORG 0] jmp 07C0h:start ; Goto segment … | |
I am taking an Assembly language class. I have a project to allow the user to enter some text and then store it in a specific memory. I have the code to allow the user to enter text, but it keeps putting it in the wrong place. How do I … | |
i m trying to reengineering of poject..can any one help in doing this....this project is an automation project...in which several machine is handle by a program... plz help me in doing this n share ur thoughts or u hav any software to co0nvert this plz send me | |
Hi Guys i want to implement iir filter in assembly in c64x processor. preferably fixed point algorithm. Here is the c code of iir filter which i have written. [code=c] #include<stdio.h> void main() { float ip1_seq[10]={1,1,1,1}; float b[10]={0.049,0.074,0.105,0.074,0.049},a[10]={-1.715,1.726,-0.85,0.195}; int len_ip=4,al=5,bl=5; int n,k,i,len_seq=0; float op_seq[10]={0},op1_seq[10]={0},op2_seq[10]={0}; len_seq=al; if(al!=bl) len_seq=(al<bl)?bl:al; if(len_seq!=len_ip) len_seq=(len_seq<len_ip)?len_ip:len_seq; for(i=len_ip;i<len_seq;i++)//padding … | |
the assignment is: Create a macro named mWriteNumber that writes a signed integer to the console output. Use the WriteInt procedure in the Irvine32 library. The argument passed to the macro can be a byte, word, or doubleword. Use conditional oeprators so that the macro adapts to the different sizes … | |
Hi .. I am porting an audio codec on to MIPS processor... Can u give me the better optimization techniques in MIPS. I am using MIPS 24Kec (Release 2).... | |
Once again I have found myself stuck on another problem in assembly langauge because it owns me. I am trying to write a program that uses the Bubble sort algorithm but to make things challenging I am required to use Local Variable. And that must be based off of this … | |
I'm trying to translate the following code from C++ into Asembly language but am having trouble. I know that I have to make a cmp and one or more jmp. If any1 has sugguestions or tips thats great. Here's the C++ coding: [CODE] int x = 1 * 2; int … | |
Welcome I have small project but I can't understand it. I hope from the members help me in this. thank you -------------------------------------------------------- Q: Problem: You’re writing code for an embedded processor for automobile safety. In the final system the car speed will be detected automatically, but in your sample program … | |
Hello If I add two numbers say, 5 and 5 to equal 10 . I can see from the screen dump that d0 contains A How do I go about converting A so as to display the number 10 on the screen? I guess I have to convert to ascii … | |
Hi everybody I have a couple of questions on assembly language. 1) what is assembly language? 2) what is assembly language used for in the programming world? 3) why is assembly language used? Thanks | |
I have the encrypting code for a ROT-13 simulator for the LC 3. If anyone has any input or ideas, let me know, please. Thanks | |
I know I posted a previous post and a person stated I should read How to Design Programs. However, I was told the following link would be a better choice to start off with. [url]http://maven.smith.edu/~thiebaut/ArtOfAssembly/artofasm.html[/url] My question is: Is this a good resource for a beginner. | |
I'm doing the following microprocessor assignment (no, I won't ask you to do it for me). [CODE]Time Delay: Write a program, which will cause a time delay of N seconds. The number N must be picked up from a memory location. The time delay must be 2N if the number … | |
[CODE] string: .space 40 [/CODE] It is changed each time I loop through the program and I need to clear it at the beginning of each loop or else characters will be added on each time I loop. Is there a command for this? |
The End.