2,889 Topics

Member Avatar for
Member Avatar for bugger

hi all, i've searched everywhere on the net but i couldn't find. anyone can help me for this? I have an exam on monday. q1 : with pic16F877 and assembly codes, maze solving robot's program and circuit q2 : with pic16F877 and microcontroller, bicycle's speed program and circuit thank you …

Member Avatar for Colin Mac
0
81
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
145
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
186
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
142
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
48
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
231
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
177
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
112
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
158
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
223
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
182
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
129
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
95
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
103
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
74
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
89
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
134
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
80
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
105
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
105
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
36
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
170
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
76
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
118
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
47
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
162
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
151
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
108
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
97
Member Avatar for Spagett912

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 …

Member Avatar for Spagett912
0
611
Member Avatar for Spagett912

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 …

Member Avatar for Spagett912
0
248
Member Avatar for hassanawdah

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 …

Member Avatar for Salem
0
270
Member Avatar for lozzam

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 …

Member Avatar for Salem
0
121
Member Avatar for Taker

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

Member Avatar for kermitaner
0
66
Member Avatar for NickyVeee

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

Member Avatar for NickyVeee
0
51
Member Avatar for RyanLeaf

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.

Member Avatar for Salem
0
341
Member Avatar for spludgey

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 …

0
47
Member Avatar for glendavis

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

Member Avatar for Salem
0
82
Member Avatar for xzaqwer
Member Avatar for Asat232
0
99
Member Avatar for BabyEyes

Hi everyone, this is the second time i put a post here , i want to write a code for a game in assembly MSAM, the game is the a letter appear in the screen and the child or the player should press the letter which they see by the …

Member Avatar for BabyEyes
0
103
Member Avatar for R&R

Can you tell me what needs to be changed in the program in order to run? Thank you. [CODE].model small .386 .stack 100h .data .code decimal proc near ;print out number given in AX in decimal xor eax,eax xor ebx,ebx mov cx,2 ;this is to accept the base and the …

0
94
Member Avatar for Demonoid2008

Hi guys i need to write a program that reads a line from the user and then searches and counts the number of alphabet letters in it and the number of any one punctuation. i figured out how to go through the list of all uppercase and lowercase letters and …

Member Avatar for Demonoid2008
0
280
Member Avatar for Punkis448

[B]Anyone can guide me or send me links, or whatever helpful with the following project? Thank you[/B] Materialise in symbolic language (assembly- MIPS) and execute in the SPIM, a program that would process unsigned integer numbers of 64 bit. Each moment the program maintains stored the two unsigned integer (64 …

Member Avatar for Punkis448
0
124
Member Avatar for khyaniv24

hello, i have a problem in my assembly program. i have a problem with open and create files. in my program i always open and create a new files ,but after 5-6 open\create ,the program stop working. i think the problem is that my file handle is not available (after …

Member Avatar for Salem
-1
78
Member Avatar for Rubie

:) Hi! I'm Tu and I live in VietNam, I have a assignment about Interrupt 10h and functions of interrupt 10h, I to be hard-pressed in Int 10 function 10h, who can help me know, please ?

Member Avatar for Salem
0
44
Member Avatar for mahmed27

Hello all, I have tried vigoriously and cannot find out what this means, this homework is due tommorow and i need major help, basicalyl what we have to do is write an ascii table which pops up on the screen, i have this code thus far but i get the …

Member Avatar for kermitaner
0
1K
Member Avatar for ConfusedMuchMor

Hi folks Not sure if I’m in the right forum for this question but here I go anyway (sure I’ll get pointed in the right direction if I’m not). I’m doing a course , of which one of the subjects is micro processors(PIC16F877), I’ve really taken to it and decided …

Member Avatar for Colin Mac
0
99
Member Avatar for dername

hi i need sample code to create empty vsam files and allocate data through assembler programmers ,please help me i need it urgently . Regards Prriya

0
70

The End.