2,888 Topics
| |
Hello, I'm working on a C++ application that executes binary files, so I'm using NASM to create them. Example: [CODE] org 0 ; I don't know this value yet start: jmp start [/CODE] Since I will execute that code later, I don't know the start address (ORG) at this time. … | |
Hi, I have been trying to write a simple Hello World boot loader using assembly language. I tried my first program to print a character 'A' on the screen by writing to the VDU memory. The code is as shouwn below : entry start start: mov ax,#0xb800 mov es,ax seg … | |
hi, I have a very weird question and since i cant find the answer to it even after surfing ALOT, i HAD to ask for your help... i have created an OS of my own... everything is complete... the bootstrap loader is done, the kernel (16-bit, monolithic and segmented - … | |
[B]Hello Everybody, I need a source code how to multiply 1 integer number to 1 float number? INT * Float as 2*22.5=45[/B] | |
hey,all of you.do you know how to make self-learning remote control car.For example if i control the car using remote control and let it move to 1 track or 1 around.when i press a switch ,it will follow back the previous track that i control without controlling by user.The problem … | |
I am trying to construct a 2 way paging with PIC Basic and two types of microcontrollers PIC16LF84A and PIC16F88. I have two parts of my system, a sensor node and a transponder. The sensor node has a 434 MHz transmitter (TLP-434) and a 315 MHz (TLP-315) receiver(RLP-315). The transponder … | |
Hey I'm learning assembly (low level only for now) on my linuxbox. Could someone convert the following c++ to asm(low level) so i can learn how to do math operations? #include <iostream> using namespace std; int main() { int a = 10; int b = 12; cout<<a+b<<endl; } Of course … | |
1. GIVEN THE DATA BELOW, DESIGN IA-32 INSTRUCTIONS TO CONVERT THE BINARY STRING IN X TO AN UNSIGNED INTEGER AND SAVE IT IN Y. X BYTE "10110011" Y DWORD ? 2. GIVEN THE DATA BELOW, DESIGN IA-32 INSTRUCTIONS TO COUNT THE NUMBER OF 1'S IN X AND SAVE IT IN … | |
Hi guys..i've been cracking my head for the past few days, i can't seem to print out the result of my multiplication..I'm using MASM615..Can anyone give me some pointers ? [CODE].MODEL MEDIUM .STACK .DATA ;================================== ONE DW 04DEH ; First signed number A = (-79H) = FF87H (2'Compliment form) TWO … | |
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).... |
The End.