2,888 Topics

Member Avatar for
Member Avatar for tommyny04

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 …

Member Avatar for tommyny04
0
100
Member Avatar for mickinator

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

Member Avatar for Salem
0
77
Member Avatar for ff4930

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 …

Member Avatar for vladdy19
0
120
Member Avatar for whoknows101

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

0
75
Member Avatar for winky

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 …

0
75
Member Avatar for -EquinoX-

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

Member Avatar for -EquinoX-
0
85
Member Avatar for loimarie

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

Member Avatar for Ancient Dragon
0
131
Member Avatar for purifier

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

Member Avatar for Duoas
0
123
Member Avatar for evios

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 …

Member Avatar for Duoas
0
117
Member Avatar for nhlagumbi

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 …

Member Avatar for Ancient Dragon
0
116
Member Avatar for patrickhannon86

I am trying to implement a half adder into my code. Does someone have this on hand? Your help is greatly appreciated?

Member Avatar for Salem
0
83
Member Avatar for Cog7777

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 …

Member Avatar for Cog7777
0
117
Member Avatar for agrawalashishku

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

Member Avatar for Salem
0
168
Member Avatar for gallantmon1

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

Member Avatar for Evenbit
0
202
Member Avatar for dhiane_1112

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 …

Member Avatar for dhiane_1112
0
1K
Member Avatar for whoknows101

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 …

Member Avatar for Ancient Dragon
0
112
Member Avatar for Silo45

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

Member Avatar for Silo45
0
298
Member Avatar for somers

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 …

Member Avatar for somers
0
471
Member Avatar for smithyluke

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 …

Member Avatar for virtual
0
113
Member Avatar for gomickle

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 …

Member Avatar for MacGyver Orca
0
1K
Member Avatar for loimarie

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

Member Avatar for loimarie
0
236
Member Avatar for degamer106

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

Member Avatar for degamer106
0
84
Member Avatar for MaxwellD

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 …

0
60
Member Avatar for iñaki_02

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

Member Avatar for Tight_Coder_Ex
0
47
Member Avatar for ivatanako

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?

0
66
Member Avatar for loimarie

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

Member Avatar for loimarie
0
85
Member Avatar for sbakca

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 …

0
59
Member Avatar for sbakca

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

Member Avatar for Ancient Dragon
0
442
Member Avatar for Evenbit

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

0
59
Member Avatar for lb10111

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 …

Member Avatar for lb10111
0
1K

The End.