2,888 Topics
| |
Pretty new to assembly language and I need help with this problem. I'm trying to traverse through a string and see if each character is either a number or a operand (+, -, *, /). Everytime I run the program, it doesn't work properly. I'm pretty sure the error is … | |
Hey all, I was wondering could anyone give me any help on TASM, with regard to the in libraries, i.e. int 10h, int 21h etc cause, ive been out of college for a year, and im back now, and im finding it hard to get used to this malarky again, … | |
I need to make a program that asks the user for input 8 numbers and output the max and min value. The numbers has to be stored in an array in memory. Basically is going to be 2 loops, 1 to prompt the user for the 8 numbers and second … | |
How do I check to see if the posts are the same in the end? PROGRAM IDENTIFICATION SECTION: Input : The value of N. Output : The factorial of N. Purpose: Computes the factorial of N, after N is input by the user. PROCEDURES CALLED: External procedures called: FROM iofar.lib: … | |
I am currently studying the impact of microarchitectural techniques. I have been looking at code and how to stall it correctly, as well as how to make it more efficient. I have been doing this through several different methods and then measuring the cycles per iteration. I was wondering if … | |
my code is however whenever I tried to print something inside the function it always gives me a bad address error, can someone please tell me why?? this is my code: largest : #Function prologue subu $sp, $sp, 56 sw $a1, 44($sp) sw $a0, 40($sp) sw $ra, 36($sp) sw $fp, … | |
hello...can anybody add a code to this program to make this a memory resident program...please... [B]*sound progam* jmp input beat db 8 nota dw 3531 nota1 dw 3032 nota2 dw 4030 nota3 dw 2728 nota4 dw 2425 nota5 dw 2023 nota6 dw 1520 nota7 dw 1313 music: mov si,0 balik_sound: … | |
Hi, I was just learning about buffer overflow attacks... I was curious as to how to generate a simple shellcode. For example, I've written two codes - One is the typical program that has a vulnerability inside and the other is the shellcode. main program: [code] void test(); int main() … | |
hi there, i was currently given a task as shown above.... however what i had was juz a small program code (in assembly) between the two.. i need something longer where i can further look into its pipelining, becoz i still need to analyze each of the instruction cycle... Thanks … | |
hi guyz, i was trying to wirte a program that display the cpu details of a local and remote machine in java. but later found that it not that easy and the better way is to use assembly first then read from a text file now using java. my problem … | |
I am trying to implement a half adder into my code. Does someone have this on hand? Your help is greatly appreciated? | |
Hello im using masm to divide two numbers and get a divide overflow error once I execute the file. I don't see why I am getting that output when the quotient is not larger then 16 digits. Why am i getting a overflow error? Here is the code [code] title … | |
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 | |
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? … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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... | |
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. … | |
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 … | |
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.. | |
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? | |
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 | |
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 … | |
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] … | |
[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 … | |
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 … |
The End.