2,878 Topics

Member Avatar for
Member Avatar for angelicarose

how can i make a program that plays do-re-mi?? please help me.. tank u

0
41
Member Avatar for bd338

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 …

Member Avatar for gerard4143
0
214
Member Avatar for liljazz2007

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 …

0
62
Member Avatar for johann_2

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 …

Member Avatar for NotNull
0
202
Member Avatar for Hanyouslayer

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

Member Avatar for NotNull
0
191
Member Avatar for Kurtz

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

0
43
Member Avatar for bd338

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 …

Member Avatar for bd338
0
147
Member Avatar for zacory

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 …

Member Avatar for Salem
0
73
Member Avatar for clag

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 …

0
48
Member Avatar for neigyl_noval

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 …

0
63
Member Avatar for katjaschmidt

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 …

Member Avatar for katjaschmidt
0
102
Member Avatar for walqas

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 …

Member Avatar for kvprajapati
0
115
Member Avatar for JONZ

using this values DW 1234,1122,7FFF,8000 how can you define a 16-bit pointer variable that contains the address of the array?

Member Avatar for NotNull
0
59
Member Avatar for wApPy
0
42
Member Avatar for Giering
Member Avatar for bd338

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

Member Avatar for Harko33
0
196
Member Avatar for bd338

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?

Member Avatar for Salem
-1
62
Member Avatar for clag

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 …

0
45
Member Avatar for liljazz2007

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 …

Member Avatar for Nick Evan
0
238
Member Avatar for liljazz2007

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

0
58
Member Avatar for Nicholas_Roge

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 …

Member Avatar for gerard4143
0
94
Member Avatar for bd338

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 …

Member Avatar for bd338
0
743
Member Avatar for GinoScientist

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 …

Member Avatar for GinoScientist
0
128
Member Avatar for xerreck

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 …

Member Avatar for xerreck
0
131
Member Avatar for TheTechNoob

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

Member Avatar for nezachem
0
97
Member Avatar for NotNull
Member Avatar for fizzywix

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 …

0
50
Member Avatar for Hanyouslayer

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 …

Member Avatar for Hanyouslayer
0
158
Member Avatar for scott__

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 …

Member Avatar for scott__
0
139
Member Avatar for chrisname

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 …

Member Avatar for chrisname
0
2K

The End.