2,888 Topics

Member Avatar for
Member Avatar for Phoenix10010

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. …

Member Avatar for sDJh
0
139
Member Avatar for citizenjawahar

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 …

Member Avatar for sDJh
0
174
Member Avatar for SGoel

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 - …

Member Avatar for SGoel
0
137
Member Avatar for meba

[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]

Member Avatar for Duoas
0
47
Member Avatar for seesy123

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 …

Member Avatar for seesy123
0
227
Member Avatar for oneohthree

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 …

Member Avatar for e.demente
0
175
Member Avatar for Hiroshe

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 …

Member Avatar for Salem
0
110
Member Avatar for aksikan

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 …

Member Avatar for Ancient Dragon
0
155
Member Avatar for zeropulse

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 …

Member Avatar for stefannn
0
221
Member Avatar for nathan.petrelli

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 …

Member Avatar for Colin Mac
0
180
Member Avatar for SirDorius

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 …

Member Avatar for SirDorius
0
125
Member Avatar for cam9856

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 …

Member Avatar for cam9856
0
92
Member Avatar for niernier

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 …

Member Avatar for niernier
0
100
Member Avatar for LarissaMelissa
Member Avatar for discus815

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?

Member Avatar for Duoas
0
72
Member Avatar for suxxor

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 …

Member Avatar for suxxor
0
85
Member Avatar for jamesdietriq

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 …

Member Avatar for jamesdietriq
0
132
Member Avatar for suxxor
Member Avatar for Eriodor

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 …

Member Avatar for Duoas
0
75
Member Avatar for mihal

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, …

Member Avatar for mihal
0
103
Member Avatar for andiey

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 …

Member Avatar for Salem
0
101
Member Avatar for saraabasi

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:)

Member Avatar for Salem
0
34
Member Avatar for :-)

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 …

Member Avatar for :-)
0
167
Member Avatar for serendipity.

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, …

0
73
Member Avatar for jbennet

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 …

Member Avatar for jbennet
0
115
Member Avatar for kjstreet

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 …

0
45
Member Avatar for alok mukim

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

Member Avatar for Salem
0
160
Member Avatar for greg6666

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 …

Member Avatar for Salem
0
149
Member Avatar for Demonoid2008

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 …

Member Avatar for kermitaner
0
104
Member Avatar for jibujacob

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)....

Member Avatar for jibujacob
0
93

The End.