3,896 Topics

Member Avatar for
Member Avatar for agrawalashishku

Hello Could someone Please give me an idea as to how should I try to play .wav file on an x86 using assembly language in Real mode at the computer startup. Basically at the time when OS has not yet booted. Thank you

Member Avatar for Salem
0
179
Member Avatar for gallantmon1

I have this kernel with the shell, and I'm trying to put the time and date commands in it but can't seem to make it work. It shows no error while compiling but it doesn't do anything when I test it. Can anyone tell me what I'm doing wrong here? …

Member Avatar for Evenbit
0
209
Member Avatar for dhiane_1112

Please Check my code!!! This is a Calendar Wizard in TASM. a program that when a user enter his birthday, the output must be his corresponding Zodiac sign and his horoscope. But i dont know where to compare the inputted month and date and what label i am going to …

Member Avatar for dhiane_1112
0
1K
Member Avatar for whoknows101

I have a .exe application and the C++ source code. How do I, using command prompt view the turbo debugger and then view the assembly code for the file? Normally you would just do the following prompts: pth assemble convtemp link convtemp iofar convtemp td convtemp Than the debugger will …

Member Avatar for Ancient Dragon
0
115
Member Avatar for curvespace

Greetings everyone! My name is Simon, I'm 37 & I live on a smallish Island off the south coast of England called the Isle of Wight. Although it is pretty rural, I've managed to live here most of my 20 years as a software engineer, videogame developer, writer and now …

Member Avatar for curvespace
0
108
Member Avatar for hafidz
Member Avatar for Silo45

[code=assembly] mov ax,35000 mov bx,4096 div/idiv bh [/code] why is it that i get a dividle by zero error when i do this. What Ive done so far.. [b][u]DIV[/u][/b]: Please double check i might have messed up. ax = 88B8h bh = 10h [b][u]IDIV[/u][/b]: Please double check i might have …

Member Avatar for Silo45
0
309
Member Avatar for somers

I am looking for some help with the fibonacci in Mips. Yes, I am a student (part time). Yes, I have made an attempt which is below. Yes, I have tried looking for help, hence me finding this forum. I have the values for the previous value, $t3, and the …

Member Avatar for somers
0
489
Member Avatar for smithyluke

Will someone help me on how I should start this? I am trying to write a program that will find the average of a series of integers and store the result in the BX and AX registers. e.g Main array = 4, 1, 28, 11, 2, -28, -7 The result …

Member Avatar for virtual
0
119
Member Avatar for gomickle

I have been working on this assignment for couple weks (aling with my other classwork) and I couldn't get it anywhere, can any one help me doing it. Or can you at least tell me hints and tips toward resolving the program: the question is: The element selection problem is …

Member Avatar for MacGyver Orca
0
1K
Member Avatar for loimarie

hi, can anybody give me an example of a memory resident program using assembly.I'm going to make it a reference for our project that is to produce a sound out from the pc's built-in speaker.please...

Member Avatar for loimarie
0
264
Member Avatar for moremore

hi everyone! sorry for not introducing myself. for being rude. well, i am from the philippines, i think you know it already. i'm not that good, meaning a professional in programming i'm just a newbie, still learning many things, i am hoping to know a lot from all of you …

Member Avatar for efmesch
0
112
Member Avatar for degamer106

I was a little confused by the brief explanation that my Assembly teacher gave on pipelining. I don't think I really understand the process that well... 1) In a 4-stage non-pipelined processor, how many clock cycles does it take to execute 3 instructions? Assume each stage takes 1 clock cycle. …

Member Avatar for degamer106
0
87
Member Avatar for MaxwellD

A little help please. I have re-install my XP software and now I am attempting to connect to the Internet. When I open the Device Manager I cannot find the "? PCI Ethernet Controller" entry I expected to find. It was there earlier, but somehow when I was attempting to …

0
62
Member Avatar for iñaki_02

hi...is anyone there can help me how to make a code for the running lights using the parallel port of the computer. In our laboratory we just simply can turn on the lights one by one but the running lights....its very hard...thanks for the people who will answer my problem..

Member Avatar for Tight_Coder_Ex
0
50
Member Avatar for ivatanako

How can I change a mouse pointer color, i know that [code]mov ax, 1 int 33h[/code] show mouse pointer, how can i change the color of the box that follows the pointer?

0
69
Member Avatar for loimarie

pls help me create musical note using assembly language codes. can you please give me the right code to be use. hi,can anyone give me an asm code to create a melody of certain songs...asm codes use to produce a tone do,re,me,fa,so,la,ti,do...please...asap

Member Avatar for loimarie
0
91
Member Avatar for sbakca

Hi.if possible can somebody tell me how to make a start to write this pseudocode in LC3 assembly lang. thank you Pseudocode for PC Interpreter ======================================================================= subroutine execute(program_pointer) { while (true) { switch (the value at the program pointer) { case '.': Output the value at the data pointer as …

0
62
Member Avatar for sbakca

can anyone tell me how to write this in LC3 thanks [code=c] for (i=0, i < 3001, i++) { if (i == 0) A[i] = 0 A[i+1] = 0 else A[i] = i } for (i = 1, i < 30,i++) { for (i+i; j < 3001) { if (A[i] …

Member Avatar for Ancient Dragon
0
461
Member Avatar for Evenbit

[url]http://sourceforge.net/project/showfiles.php?group_id=165727[/url] Version 2.3 of the StdLib is now on SourceForge. - Improvements: Linux support is now more complete. - Includes: Automated Test Suite The intention of this project is to support users of Randall Hyde's HLA (High Level Assembly) language who wish to maintain, extend, or evolve the HLA Standard …

0
62
Member Avatar for lb10111

I use nasm and I have the gnu linker. What I want to do is link my main program file with a file containing procedures and then output a flat binary file. Since I can't use nasm to make binary files with EXTERN's in the source I figured I could …

Member Avatar for lb10111
0
1K
Member Avatar for Evenbit

[[ re-posted from the DesktopLinuxAsm mailing list ]] [url]http://groups.yahoo.com/group/DesktopLinuxAsm/[/url] << Here is a puzzle for assembler guru's and anyone who needs a diversion. Bill Gates has spent the last year working on a virus to destroy Linux. To complete his virus he needs the constant of -4 in eax. His …

0
70
Member Avatar for getz

Hi, I've developed pocket pc application using vb.net and mysql. But the prob now, I cannot access data from mysql thru pocket pc. when I run the application in Symbol pocket pc, it will give me this error: TypeLoadException Could not load type MySql.Data.MySqlClient.MySqlConnection from assembly Mysql.Data, Version=1.0.4.20163, Culture=neutral, PublicKeyToken=C5687FC88969C44D …

0
82
Member Avatar for chubbywubba

i have to fill in this table and I am not sure how to fill in the rest. can anyone help? ignore the 1 0 d at the top

Member Avatar for Salem
0
64
Member Avatar for HaroldPeters

Printer: Brother HL-1440 Statement of the Problem: The printer was working beautifully, but it suddenly stopped feeding paper through. It receives data and warms up, but then it does not pick up the paper from the tray, nor will it grab paper from the manual feed slot. I really don't …

Member Avatar for Chaky
0
205
Member Avatar for -EquinoX-

Okay so say I have an array which is like this: [code] .data values: .half -17 .half 16 .half 153 [/code] and I want to print it as -17 16 153 How do I do this?? If it is stored in a 4 byte of integer then it would be …

Member Avatar for Salem
0
235
Member Avatar for ivatanako

Can I move the mouse pointer using the arrow keys with assembly? Is it possible? And if it is, can someone give a code or a snippet? I really have no clue. I know that [code]mov ax, 1 int 33h[/code] But how can I move it using the arrow keys?

0
74
Member Avatar for Evenbit

[url]http://sourceforge.net/project/showfiles.php?group_id=165727[/url] Version 2.2 of the StdLib is now on SourceForge. - Improvements: increases OS independance, performance, and design consistency. Accessible from other assemblers and other languages. - Includes: Automated Test Suite The intention of this project is to support users of Randall Hyde's HLA (High Level Assembly) language who wish …

0
61
Member Avatar for thirunavukaras

Hai.. i have Problem with Treeview control...... i am developed one web application... i am have many aspx page in this project..but all page undercontrol with treeview .. i am alreay download the IE Web Controls from microsoft site.. I build the batch file then automatically created "Microsoft.Web.UI.WebControls.dll" ("C:\Program Files\IE …

Member Avatar for rmaheshmsc
0
104
Member Avatar for kahad

Hello! I'm trying to type a thing in MIPS code. It takes two integers n and m. Both must be between 1 and 10 inclusive. It tests the numbers and complains until the numbers meet the requirements. It then computes 1^m + 2^m + …. + n^m. For example. should …

Member Avatar for kahad
0
156
Member Avatar for arrogant

hi, please help using keil compiler for 80c51.. how to writ assembly program and compile iot in keil... please help.... :sad:

Member Avatar for sneha sirohi
0
120
Member Avatar for Kassis

Is there a way to do a vector of vectors in assembly? like this: vector1 is 1,2,3,4..10 vector2 is 7,8,9,6,5 and vector is vector1, vector2 is there a way?

Member Avatar for Salem
0
63
Member Avatar for boja123

Hi all, I have given this program to convert it to MIPS code in SPIM and print anapshot of the registers and the results . and then assemble the MIPS instructions to machine code writing the out put in HEX format thank you for help //this program compile with C++ …

Member Avatar for boja123
0
111
Member Avatar for cbalu

I need to read the [B][COLOR="Red"]BAR (Base Address Register) Length in PCI[/COLOR][/B]. How can i do that. I can able to find the Devices present in the PCI using the CF8 and CFC ports. But, how can i get length of the BAR Registers

0
90
Member Avatar for xenix

Hello all, I am trying to load a 32bit data (word) from the PortB of a BRAM to a GPR (general purpose register) of the PowerPC. Address Map for Processor ppc405_0 (0b0000010000-0b0000010011) ppc405_0 (0b0000100000-0b0000100011) ppc405_0 (0xa0008000-0xa000ffff) docm_cntlr docm (0xffff8000-0xffffffff) iocm_cntlr iocm i am using the LWZ command like LWZ r1, …

0
59
Member Avatar for bsmithson4

Hi! My name is Becky, I live in Yorktown Va on the Chesapeake Bay. I have 2 masters from William and Mary in Chemistry and Computer Science, from 1980!!! I don't feel that old, but after working for NASA and the Army as an assembly/Paschal programmmer and doing my Chemisty …

Member Avatar for Dani
0
145
Member Avatar for vladdy19

I'm wondering how I would be able to tell if an integer is even or odd, I know that if the least significant bit is 1 then it is odd but I don't know how to tell if the integer has this bit as a 1 or a 0.

Member Avatar for Tight_Coder_Ex
0
98
Member Avatar for vijayan121

there seems to be nothing much happening in the c++ forum today. so here is something to chew on for programmers who are relatively new to templates: c++ can also be used as a metalanguage. [code=cplusplus]#include <iostream> using namespace std ; // compile-time computation of fibonacci numbers template < int …

Member Avatar for Bench
1
453
Member Avatar for Tight_Coder_Ex

Using VC++ 6.0, setting this option doesn't seem to do anything significant. Specically, I can still run the app on a 486. I've drilled into assembly and can't find anywhere that Pentium opcodes are being used. My guess would be timing and as I don't have any references to that …

Member Avatar for WaltP
0
143
Member Avatar for sofianos

Hi guys! im having a problem with an exercise and i can't find the solution. the program have to sub the contents of the second array from the first and mov the result to the third. This is what i did so far. [code=assembly]TITLE ARITHMETIC2 DOSSEG .MODEL SMALL .STACK 100h …

Member Avatar for Tight_Coder_Ex
0
197
Member Avatar for yanyan

hi,,im so new in this environment,,and im having a hard time,, wuold you mind giving me some example of c++ codes with corresponding assmbly language codes in tasm,,thanks

Member Avatar for Salem
0
52
Member Avatar for kedar.potdar

Hi, I am currently porting 64 bit application with C and Assembly code (x86-64) from Linux to windows. I am using Microsoft C-Compiler 2005 and Yasm for compiling C and assembly code respectively. I have modified the assembly files as per the 64-bit ABI specification for windows and i do …

0
53
Member Avatar for anvir

Alright, here's the beef. I'm basically writing a program for a PIC18 microcontroller. There's just one problem, my main asm file, it compiles C into assembly and then turns it into bytecode, is too big to be loaded into memory. So I'm getting compiler errors telling me the section is …

Member Avatar for Salem
0
145
Member Avatar for hentei

The addres stored in ebx is the addres of the system function in the msvcrt.dll library. But this code doesnt work, when i try debbuging it, at the call it says that the addres is unreadable. What is wrong? Sorry for my english and also for my question if its …

0
68
Member Avatar for K1ngp1n

alright... So I want to learn assembly, and i got a few tutorials. I noticed that there were different interrupts. I went online and searched for a list of them, and i found Ralph Brown's interrupt list....My question(s) is/are, Is it true there is over 120,000 different interrupt commands? How …

Member Avatar for K1ngp1n
0
139
Member Avatar for toxicboy

first of all, i am using windows xp, and i am using nasm to assemble my code, and djgpp to compile it with driver.c what i basically want to do is do a chat thing using serial ports, pretty much like Choink23 is trying to do in another thread. here's …

Member Avatar for toxicboy
0
1K
Member Avatar for montoyaf1

I want to make a proc which count random hunderts of time...Example, a want my proc to wait about 80 hounderts of secend...I write next proc but it doesn't work...If somebody know where i'm wrong, can you help me...thanks.here is the proc : STOP PROC NEAR PUSHF PUSH AX PUSH …

0
58
Member Avatar for bASMER

Hi, I don't quite understand this subject of Assembly. I was interested in knowing what they were used for and how I can use them, explained as simply as possible. I'm reading from this tutorial: [URL="http://maven.smith.edu/~thiebaut/ArtOfAssembly/CH05/CH05-2.html#HEADING2-1"]http://maven.smith.edu/~thiebaut/ArtOfAssembly/CH05/CH05-2.html#HEADING2-1[/URL] Thanks.

0
53
Member Avatar for ivatanako

[code] org 100h ; set location counter to 100h .model small .stack 200 .data crlf db 0dh,0ah,'$' prompt1 db 'enter the first positive integer: ','$' prompt2 db 'enter the second positive integer: ','$' prompt3 db 'The sum of two numbers is: ','$' num1 db ? num2 db ? res1 db …

Member Avatar for Tight_Coder_Ex
0
2K
Member Avatar for bASMER

Hi, I just started learning assembly using this website: [URL="http://maven.smith.edu/~thiebaut/ArtOfAssembly/artofasm.html"]http://maven.smith.edu/~thiebaut/ArtOfAssembly/artofasm.html[/URL] I am currently at chapter 3.3.7, and am confused about the concept of opcodes. What is their purpose? Thanks, any help is appreciated greatly.

Member Avatar for Tight_Coder_Ex
0
98

The End.