2,878 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] | |
If there are multiple ways to do this, would you name a few, please? | |
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 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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … |
The End.