3,896 Topics
![]() | |
how can i make a program that plays do-re-mi?? please help me.. tank u | |
Hello everyone! I, once again need your help :). I've expanded my hanging boot loader, to a hello world boot loader. Or, at least that's what it's supposed to be, when I get it running. This is my Assembly code: [CODE] [bits 16] [org 0x7c00] message db "Hello, world!", 0 … | |
I need help where it says "DEFINE YOUR CODE" Ive defined the 12 out of the 20 lines required but Im not sure how to do the remainding parts. Please help. Thankyou [CODE] ; Multiplication and division (integer division) using addition and ; subtraction in SRC assembly language. ; If … | |
Hello, Could someone please look at this code and tell me why it is not working. I am trying to retrieve the number that is stored in the "Hundredths" section of the system time and output it to the screen. Thanks. [code] .MODEL SMALL .286 .STACK 100h .DATA Typed DB … | |
I have been working on converting this C/C++ Program as an assignment for my x86 assembly class, and for the love of anything good I can't figure out what is wrong. It doesn't have a problem when assembling or linking, but when I run it, it gives me: CS:0576 IP: … | |
Hi, I just started working with the LC3 or rather programming. I was wondering how to create a reverse string. For example, I input a string saying "I love LC3" and I need to reverse this statement in the output. I know I will be using the LIFO of Stack, … | |
Hello everyone! I've written this boot loader, using NASM: [CODE] [BITS 16] [ORG 0x7c00] jmp $ times 510 - ($ - $$) db 0 dw 0xaa55 [/CODE] I know, the code is VERY simple, but I just want to know how I could run it on my computer? I've assembled … | |
After a heated arguement with a friend over what he calls "bloat-ware" I tried to find how much of my file size is unneeded dribble. I found out that tasm produces the smallest files for simple programs and then I looked into more detail as to that. It appears that … | |
MY friend told me that this was something neat so I've been working on it for a while but I can't see it. He gave a set of machine code and said it'd be interesting and that I could see the picture. The set were: [CODE]0x3c111001 0x3c011001 0x34320006 0x82290000 0x2128002a … | |
I am in Windows XP and this has been my problem whenever i use graphics mode in assembly. We are required to use a TASM assembler. Here is the problem: Whenever I run the program, it always runs on full screen. Is there a possible way to restore the size … | |
Hello Assuming we got the following memory dump: [CODE]0x80004a3 <main+19>: call 0x8000470 <function> 0x80004a8 <main+24>: addl $0xc,%esp 0x80004ab <main+27>: movl $0x1,0xfffffffc(%ebp) 0x80004b2 <main+34>: movl 0xfffffffc(%ebp),%eax[/CODE] So when the call of <function> is finished, i.e. the function returns, the next Instruction is at 0x80004a8 (which the IP pointed at). If we … | |
Hi, I have got a web solution in ASP.net and i am trying to get the product assembly information from within another DLL library that is used by the pages. So basically, [myPage.aspx] -> [myDLL.method()] i want [myDLL.method()] to be able to get the assembly info of the pages project … | |
using this values DW 1234,1122,7FFF,8000 how can you define a 16-bit pointer variable that contains the address of the array? | |
give me an example of codes.. reversing of string for assembly language.. emulator 8086[code][/code] | |
Name: Josh Height: 5'6'' Weight: 129 Hair: Brown Eyes: Brown Location: NY Age: 16 Hobbies: Listening to music, drawing, playing the piano, going out with friends and family, movies, laughing, sleeping, martial arts, working out, anime Relationship Status: single Fav Music: I enjoy listening to anything besides music which doesn't … | |
If there are multiple ways to do this, would you name a few, please? | |
dear all .. **default.aspx** <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1" runat="server"> <div> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <br /> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <cc1:AutoCompleteExtender ID="TextBox1_AutoCompleteExtender" runat="server" DelimiterCharacters="1" … | |
Hello everyone! This is the code for my A86 Assembler: [CODE] jmp _executor _executor: mov ah, 00 mov al, 18 int 10h end _executor [/CODE] It Assembles fine, but when I try to run it, I get this dialog popping up, saying: [QUOTE] This system does not support fullscreen mode. … | |
Hello , i made a form with a button. When i press this button , it open a new form. If i close the new form , and i try to open it again , i recive a error. [code]See the end of this message for details on invoking just-in-time … | |
Hello everyone! I would like to know if I'm calculating memory addresses right. Let's say I would like to calculate the address of 0BC9:0000. Would I then take 0BC9 in decimal (3017) and multiply it by 16 and then add 0000 to it? | |
Hi, I wanted to convert this code into assembly but I'm having trouble. Here's what I got :] [CODE]int b = 0, x; while (x != 0) { b += ((x & 03) == 2); x >>= 1;[/CODE] I believe this is just a basic instruction to count the number … | |
ANY HELP YOU CAN PROVIDE WILL BE GREAT. Here is the code Im trying to convert. This is my 1st time hearing about SRC Code and my teacher isnt being a big help. Please help in any way you can. Here is the code: int a = -5; int b … | |
Here is the code Im trying to convert. This is my 1st time hearing about SRC Code and my teacher isnt being a big help. Please help in any way you can. Here is the code: int a = -5; int b = 3; int c; if (a == b) … | |
It's actually not help with the code, it's help finding an assembler and linker that will work on 64 bit windows 07... Not only that, but I'd like to be able to be able to debug it. But since windows dropped debug from 64 bit. Any help? P.S.: I have … | |
Just kidding. Hi all, DC here. I'm an EE undergrad from Malaysia. I've just started to pick up computer programming for about one semester because of my Final Year Project (Thesis). I've been lurking about and the forums seem really helpful so I decided to join. I've been programming for … | |
Hello everyone! If I try to Assemble the following with MASM, I get this error: Code: [CODE] .model small .stack .data message db "Hello world!", "$" .code main proc mov ax,seg message mov ds,ax mov ah,09 lea dx,message int 21h mov ax,4c00h int 21h main endp end main [/CODE] And … | |
Is there a way to hide assembly code when my C code references a library function that deals with memory? (Not showing 'asm' code)? | |
Ok, having some serious trouble here. My proffesor told us to write a progrm (what it does really doesnt matter here) however he wants a FULL color menu in the console. He showed us an example of what he wants, it was very cool, it had a red backround, then … | |
Hi all, I am new to this forum, I am hope somebody can point me to the right direction if I am asking in the wrong place... I have a lot of code written for the ASM286 compiler, which I am trying to run somewhere. Because it is a complex … | |
I recently wrote a small program to help people log into our office VPN without having to have IE open (at least not visible) so that we can do what we need to do when not at the office without having to have that on the Taskbar, too. Works great … | |
Here is the description of my project: write a program to produce an "addition table." This table should input two small int8 values from the user. It should verify that the input is correct(i.e., handle the ex.ConversionError and ex.ValueOutOfRange exceptions) and is postitive. The second input value must be greater … | |
Please forgive my ignorance but forever I've been in the habit of building a library of useful subroutines which I call from an application I am building. Recently the language has been python - a distinct departure from my experience. I've been unable to create a reasonable library. Here's the … | |
Hello. I'm just scratching the surface of Assembly for the first time and am trying to figure out how to manipulate arrays. It's my understanding that arrays live in RAM, and RAM ONLY. So you must load the piece of the array you want to mess with into a register, … | |
Assembles under NASM 16-bit, invoke INT 0x65 to display message. | |
Hi! I'm writing a little equation solver for an exam ... it has not to be perfect or mathematically rigorous. With this program I have only to show to my professor that I can write some simple program in Assembly and C++ language. In other words, I have only to … | |
I'm having trouble coming up with how to find the median in assembly (x86) for some beginning programs. I have an idea, but I'm thinking there must be a much more compact way to do this. Simple algorithm for what I had in mind: given a list and length of … | |
I just started assembly programming, x86, and I am kind of getting the hang of it, but I am still far from becoming great at it. It's interesting to see what I do in Java from a different view. Anyways, for the life of me, I can't figure out what … | |
hello, this is my first post on this forum! i have a strange bug that i get when using the player/stage project. I have compiled it with the MinGW compiler and it works fine on my vista laptop. However, on a lower spec XP PC it segfaults. Using GDB, i've … | |
Hi :) I'm writing a basic 2 stage bootloader (I actually do plan for it to work, it's not just a hello world loader) and I've migrated to nasm. I find it much easier to use, etc. etc. Anyway; I'm using the times directive to get the program to 512 … | |
Hi, How can I point to the end of a string ? We have ACTULEN, the length of string . For example : LEA SI, KBNAME + ACTULEN KBNAME is name of our string . But this is not work . Thanks ......................... | |
Hello, I am beginning learning intel assembly. I am taking simple gcc programs and looking at the assembly. All gcc outputs have a line similar to: mov DWORD PTR [ebp-4] that I can't figure out. For example [code] int main(void) { int x = 5; return 0; }[/code] gives me … | |
Hi,I'm new to assembly but i cannot figure this out NEG BYTE [BX] ; Negates byte quantity at DS:BX NEG WORD [DI] ; Negates word quantity at DS:[U]BX[/U] first line I understand but how did he get BX register in second line?! thanks in advance | |
Alright, I have a file opened, read into a buffer, and closed. I need to search the file for this string of bytes: FDXXXXXX06YYYYYY The FD is an assembly code to load something, but that's not important here. The XXXXXX and YYYYYY are values that are unknown and YYYYYY will … | |
Hi! I would like to use timer in my code. And i don't know how to build a real clock. I wish control my loop with this timer. In every seconds the loop do something. I use OS Linux Ubuntu and NASM. Very sorry about my bad English. I still … | |
Hi to all! I'm writing an assembly program that at a certain point calculates a square root, then it has to verify if the result is an integer (i.e. 2.000) or a "true" floating point number (i.e. 2.456). How can I do this in Assembly language? P.S. The next week … | |
Hi , i am creating a consol application. In this, when ever an error comes, i neeed to pop up a message. So i used messagebxo.show. For this i have added [B][COLOR="Green"][COLOR="green"][COLOR="green"][COLOR="Red"]using System.Windows.Forms;[/COLOR][/COLOR][/COLOR][/COLOR][/B]. but i am geting the follwing error. I have made the output type for the application as … | |
Hey guys, just joined. I have been coding in C, C++, and Java for about 3 years now. I also have a little experience in HTML and CSS, and am currently just getting into a bit of Assembly. | |
hi every body could I color a page with out interrupts ??? If yes , how ???? | |
Given a vector of bytes with length multiple of 8, how can I, using mmx instructions, convert all 2's to 5's, for example? [code] .data v1 BYTE 1, 2, 3, 4, 1, 2, 3, 4 [/code] Thanks. | |
everytime I try to run run net framework 2.0 I doesnt install and throws up this message Error 25015. Failed to install assembly C:/ Windows\Microsoft.Net/Framework/v2.0.50727/Microsoft.Visual/Basic.Compatibility.ddl because of System Error 0x80131107 I wonder if anyone knows what this is or where I can find out what it is or how to … |
The End.