165 byte By
alibaig at 2007-11-19 15:23:31
I don't know how to change the sampling rate of an mp3 file. lets say from 40,000 samples/sec to 20,000 samples/sec. We are required to use hex editor for that.
the problem we are facing is that we cannot view the exe file of the source code in assembly language in binary format (in notepad) .
743 byte By
Lorvak at 2007-11-19 15:24:58
I am translating a chunk of C code into MIPS assembly (PCSpim) and am having problems with the following line:a = r[extract(ir,25,21)];I have a stored in $s1. r[0] is in $s0. The extract function returns a value in $v0.So, what I'm trying to do is:mul $v0, $v0, 4 # multiply by 4, 4 byt...
1515 byte By
l3lind at 2007-11-19 15:25:33
I'm kind of at a loss right now, I have an assignment that I need to complete, and I am NOT looking for someone to write the code for me, I need to learn this or I'll never get ahead in this class.my assignment is to write a program that duplicates the HEXO instruction that was dropped whi...
1005 byte By
g_gili at 2007-11-19 15:30:15
HI all... I'm nob in assembly.... This is a homwork :) :DI have to read some numbers and write them in binary..... (in NASM)is there an intrerupt that write's out that number.....? form hex to binary. ex. I write 8 then in the output writes : 1000 .ex:mov ah,0x01 //read the caracterINT 0x...
Write a program to add the multiples of 5 from 5 to 100, using the stack. That is,5 + 10 + 15 + 20 + . . . + 95 + 100Your program should have two loops:- The first loop should place the numbers onto the stack.- The second loop should read the numbers from the stack and add them together.Place the su...
144 byte By
xred at 2007-11-19 15:36:16
Anybody knows how to get the cpu frequency?I found some codes, however the all use API.<br/>Now, I want to use pure asm to resolve it.How to do?
190 byte By
Wenter at 2007-11-19 15:41:09
I just don't know which parts are more important to look through in a dumped exe since it brought up even kernel files, and I see all exe's are the same every time they get dumped.
339 byte By
jejob007 at 2007-11-19 15:47:03
HiI do not know if this is the write thread to post my question.But anyway let me give it a try.How do I include a DEBUG statement in a batch file.For eg I wanna put the following command in a batch file:debug -D40:00 -qHow do I create this file.What is the syntax.Jejo...
I have a nice 3D engine (programmed on OpenWatcom 1.3) that works very well on ATI cards, but when I try it on NVidia cards I get a garbled screen (the function 0x4f02 doesn't return an error; I know that from the log). And on onboard cards it won't set the graphics mode.I use this to set...
I need an assembly routine that converts a single floating point number (float s23e8) to a 16.16 signed fixed point number (long).I'm using OpenWatcom 1.3 (inline assembly).Pls help...I've came up with the following code:long ToFP(unsigned long ulVal);#pragma aux ToFP = \ "cmp eax, 0"...
hey guys! i came across this assembly program that is similar to a project that i'm working on and i can't seem to get it to run. the address is http://www.programmersheaven.com/c/MsgB...oard=1&MsgID=282042&Setting=A9999F0001and the instructions and code are listed below. it seems like it...
I am very new to Assembly Language Can Anybody Give Simple Assembly Language Progm with some explaination...i will be much obligued if u ppl will do that ...help me pls
630 byte By
mood302 at 2007-11-19 15:52:15
Dear Gurus!I'm just begginner level student of assembly and I found the following question in my assignment. However, I've solved it but I want confirmation about its correctness, and if it isn't correct, please do it.Q. Calculate the physical memory address generated by the following...
114 byte By
Mitsukai at 2007-11-19 15:54:52
what is the code in ASM to do the same as memset in C++ i have never coded in asm before so could someone help me?
1388 byte By
ajtH at 2007-11-19 15:55:02
Hello,I have never used any other programming language but Java. Now I have to write a subroutine strncmp() from c-language with MIPS. I'm given registers $a0 and $a1 which contain strings with unsigned bytes as characters and they are delimited by a zero byte. Register $a2 is also given and it...
jmp startvar1 db 'c' ;variable I am trying to get to the screenstart:mov bx,0xb800 ;set es to video address 0xb800mov es,bxmov bx,0 ;init bx for write function;first attempt to get a 'c'mov al,[var1] ; passes the value 00 to register al(not supposed to)mov ah,0x...
742 byte By
indianj at 2007-11-19 16:07:33
hi, i need help writing an assembly language program to verify if the keyboard input is a valid number or not? Print Yes if it is a number and No if it is not.here is the code that i wrote it so far..c:\>debug-a100 178E:0100 mov ah,01;178E:0102 int 21;178E:0102 cmp al,0d;178E:0106 jnz 0100;178E:0...
Please, I want to solution this question but I can't.May you help me??we want to design a digital circuit that determines if a bit word is a valid BCD code or not (BCD : Binary Coded Decimal, only codes from 0000 to 1001 are valid)the word is initially stored in a 4 bit register that offers onl...
1829 byte By
vypher at 2007-11-19 16:13:32
this is my first time here, i just started learning assembly language in my college. i m having trouble getting this to work can some1 help me check it out... it is suppose to copy the contents of testfile.txt to create another exact file called testfile2.txt buy i cant seem to get it to work. so he...
487 byte By
ringos75 at 2007-11-19 16:22:13
Hy everyone,i'm newbie. Sorry in advance for silly question. But i need to know how many machine cycles is used by some assembly instruction. Foe example:mov ecx,[edx+4*eax-4] ;cycles:??add [ebx+4*eax-4],ecx ;cycles:??dec eax ;cycles:??sub eax,1...
3281 byte By
g_gili at 2007-11-19 16:27:40
Hi. This is another homwork :D I have to do in Newtwide Assembler (nasm) to open a file and count the dots "." in that file and write in the output(on the screen; the number of dots)So I writed that but it doesn't work... gives me a weird output...I tried to debug it in TD.exe(Turbo debugger(...
964 byte By
mood302 at 2007-11-19 16:28:48
Dear Gurus!I'm just begginner level student of assembly and I found the following question in my assignment. However, I've solved it but I want confirmation about its correctness, and if it isn't correct, please do it. (These results have been achieved by using NASM assembler).Problem...
128 byte By
xred at 2007-11-19 16:42:43
As title.<br/>eg.( 10110->01101, 111001->100111, 10011->11001)<br/>Could anybody give some codes?<br/>Thanks!
637 byte By
mood302 at 2007-11-19 16:43:54
The assignment is:"Consider the following pseudo-code and write the corresponding assembly code for it.Note: There is more credit for a shorter code.if (al>bl) AND (bl>cl){ CX=1}and I've write the code:[org 0x0100] mov al, 7 mov bl, 3 mov cl, 5 cmp...
19196 byte By
ZOverLord at 2007-11-19 16:51:09
********************************************************************************************The Programs and Files included are Copyright 2005, by ZOverLord This is a Proof Of Concept for Educational Purposes ONLY!Notes: This program is 4K big, as in 4,096 bytes and can do ANYTHING other...
Debugger tool is very mystery for me.<br/>Who can explain the mechanism of a debugger?<br/>I want to implement a simple debugger program for 8086 and how to start my trip?<br/>Thanks a lot!
When debug an exe file using debug.exe, debugger can stop at INT 3.This behavior is fantastic!I set Trap Flag 1 in my program, write a INT 3 instruction in my code and then expect my programe can be stopped at there.When I run my program, the program isn't be sopped.In a word, I don't unde...
8737 byte By
redcomet at 2007-11-19 17:00:39
Heh, ok, I am working on a project and I have 1 function inside a dll that I need changed. I have located the function in the dll and I can block off the entire stretch of code in either a nice hex editor or PE Explorer. I have another function that was built with the same libraries as the first d...
4081 byte By
coop1 at 2007-11-19 17:04:09
Hello Gurus. Can someone help me? I am having a bit of trouble with linking my code to start at the correct spot. My overall goal is an*****ious one - write an operating system... one day. At present, I am making okay progress with assembly, but when I try to generate object code from my C code and...
227 byte By
bilm_ks at 2007-11-19 17:04:18
I have a function<br/>void fun1(int * pArray, int &count)<br/>with an __asm block inside.<br/>I try to write a val in an arrays element (mov pArray[4*ecx], edx) but nothing is written. Also i cant write in byref variable count.
1225 byte By
savlord at 2007-11-19 17:24:17
Hey, I'm using DJGPP and used Brennan's coversion rules to change Intel syntax to AT&T as required by gcc (Inline assembly). The code I came up with was -asm{ mov dx,addr mov ax,value out dx,ax}//this was converted to__asm ("movl %0, %%edx movl %1, %%ea...
2610 byte By
the axiom at 2007-11-19 17:25:43
HelloI need help with an A level computing exam that is coming up very soon.Sometimes in the exam students are asked to write some assembly language code. A typical question is:Using the trace table below write the assembly language equivalent of the following:X=0 While Not (x = 999)Do x = x + 1End...
; I want to make it. Help me.;------;| First name |;| Last name |;----- .MODEL SMALL .STACK 64 .DATAMenu DB 0DAH, 17 DUP(0C4h), 0BFH DB 0B3H, 'First Name', 0B3H DB 0B3H, 'Last name', 0B3H DB 0C0H, 17 DUP(0C4h), 0D9H, "$" .CODEMAIN PROCmov dx...
1179 byte By
lhayes00 at 2007-11-19 17:33:27
Hi,I am currently trying to learn assembly with the ML compiler via C++ in visual studio. I will be writing functions in assembly and incorporating them in C++. I have managed to get C++ to call functions within the .asm file and built the .exe with no problems.However I am trying; for learning purp...
how write text where simbols are difference colours?<br/>H E L P M E.
89 byte By
Mooresy at 2007-11-19 17:36:21
does anybody know how i can get a box in assembly so i can enter some data in?<br/>thanks
433 byte By
Worthi at 2007-11-19 17:36:50
I am trying to write an application using inline asm within C++.I am having trouble with the int13h 42 routine (extended read).Everytime I try to read my computer locks up.I think I have initialised everything properly but still it crashes.Does anyone have any code to do a read of the hard disk usin...
how can i same as alt+enter <br/>when i run exe file<br/>HELP HELP HELP
186 byte By
0xf at 2007-11-19 17:45:44
Hi Guys,<br/>I'm looking for an ASM source that gets the EntryPoint and ImageBase of an Exe file. <br/>If anyone has one, please let me know!<br/>Thanks<br/>0xf
79 byte By
Mooresy at 2007-11-19 17:47:57
how can i get the user to enter data and the data to then be printed out in dos
295 byte By
lgarcia3 at 2007-11-19 17:52:34
I am new to assembly. I am taking a class in college where I have to program in assembly and we are to use the DOS command prompt tool debug. I have NO idea how to run the program or see the results. If some one can tell me how or tell me where I can find a tutorial; would be great.<br/>Thanks!
481 byte By
rozo at 2007-11-19 18:03:44
Hi!I have to write some very complex image processing routines so that they can run as fast as it's possible. That's why I would like to learn about how to create fast code, how to optimize a code for certain processor, how a processor deals with its cache memory and so on.I only know some...
Get code from locked MCU !<br/>Want to crack locked IC,MCU/uController/single chip compuer?<br/>Go http://www.mcucrack.com with 100% success.<br/>Now we are in preferential time.<br/>www.mcucrack.com
1316 byte By
pre_wreck at 2007-11-19 18:08:33
hi there,I have here my piece of code. I'm just new in assembly, please help me figure out this. why is it that it doesn't display the right answer?I'm using TASM v.5.0thanks,Extrn INDEC:NEARExtrn OUTDEC:NEAR .MODEL SMALL .STACK 100H .DATA lf EQU 0Ah cr EQU 0Dh Prompt db cr,lf...
I have been assigned an Assembly project to make this using FCB(File<br/>Control Block) .<br/>1-Create 5 files and sixth one a table<br/>we have to add details like<br/>size , name , extension and date created<br/>then search and sort by name and size<br/>USING FCB
450 byte By
ccfriend at 2007-11-19 18:13:20
HiIs there any book or other resource (I prefer book) that talks about assembly networking programming ?For example I need to implement the commons C socket, bind, connect etc functions in assembly language.I am not interested in calling inside my assembly code API calls that provide this functional...
Dear all,I'm quite new to assembly and don't know how to do arithmetic on input once they're read using mov ah,0Ah.I can do arithmetic on a single digit, because I use mov ah,01h. But when it comes to buffered input, the program prints out gibberish.Any help would be appreciated. Than...
hi, can someone please help me in my program. I'm new to the debug.com environment and our prof are lame in teaching it.I would like to create a program where i can input a string(like my name) (Please enter your name) and the output would be (hello (my name) )here is the code that i make, but...
Hi,I'm quite new to assembly and I'm having trouble displaying output. I'd like to do some arithmetic on two numbers and place the output on screen..model small.stack.dataval1 dw 12val2 dw 34res dw ?msg db 0dh,0ah,'result: ','$'.codeprog:mov ax,@datamov ds,axmov ax...