3,896 Topics

Member Avatar for
Member Avatar for sergent

All the programmers here that were programming for a really long time, tell us, the next generation of programmer, what programming was like back in 80`s and 90`s. What had changed since then (for example: "back in my days memory was really expensive, and we never wasted it! I wrote …

Member Avatar for iret
0
135
Member Avatar for Labdabeta

I have been googling around and have found that the TI calculator that I use uses a z80 chip. I was wondering if it is possible to use assembly rather than the default program language of the calculator to write programs for it. Any ideas of how I could find …

Member Avatar for sergent
0
111
Member Avatar for igok

hello guys, i'm breaking my head now trying to find a way to write a cross corrolation code in assembly. i don't from where to begin writing. can anyone help me with this?

0
65
Member Avatar for apanimesh061

[CODE] public class WAVEHDR : IDisposable { public const int whdr_done = 0x00000001; public const int whdr_prepared = 0x00000002; public const int whdr_inloop = 0x00000004; public const int whdr_endloop = 0x00000008; public const int whdr_inq = 0x00000010; public const int wf_PCM = 1; public IntPtr lpData = IntPtr.Zero; public uint …

Member Avatar for abelLazm
0
220
Member Avatar for gsingh2011

I've been struggling with understanding segmentation for some time now. Here's what I know. There are different types of segments, such as the code segment, data segment, stack segment, and extra segments. In old architectures (286 and below), segments were limited to 64kB and used a segment:offset addressing scheme. In …

Member Avatar for BitBlt
0
452
Member Avatar for apanimesh061

This is a program for recording sound from an Audio Input device. I have taken help from the MSDN website ..... ! I did as they had mentioned .... [CODE] //wave.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Runtime.InteropServices; namespace Record { public class wave { …

Member Avatar for apanimesh061
0
737
Member Avatar for kwins

I am a beginner in MIPS and we're given this assignment to write a programs in MIPS to convert binary string to decimal i do some research and I found some helpful information: TO convert a binary number to decimal Let X be a binary number, n digits in length, …

0
287
Member Avatar for Nisushie

Hello. I am new here so if I make a mistake in any way I apologize. I have a project that I need help with. I am trying to make a countdown timer that countdown 60min to 0sec using microcontroller AT89S8253. A buzzer will sound at 0 sec. My problem …

0
98
Member Avatar for billgateswannab

ok guys. Im new here so please dont squash me like a bug. Im new to assembly as well. I even bought an assembly book recently ive been studying. My question is... Is it possible to write assembly that doesnt depend on api's, etc. Of other operating systems. Everything ive …

Member Avatar for billgateswannab
0
237
Member Avatar for Gata_Salvaje

Hi ,There I hope you can help me with this I need a Java algorithm to help me find how much % is string A relevant to String B Example : String A => Java ,C++ ,C# ,Assembly String B => java ,c++ then Result should be => 50% relevant …

Member Avatar for ztini
0
5K
Member Avatar for Nirmeen Ased

Write a program toconvert from Fahrenheit to Celsius : Tc =(5/9)*(Tf-32) Tc : Celsius Tf : fahrenheit

Member Avatar for GunnerInc
0
109
Member Avatar for vincezed

Hi all the treeview i am creating here works very well but i tried so many ways to add tag to the child nodes but i could not... can any one tell me how to add tag to the nodes... that are created from the database... I could add tag …

Member Avatar for vincezed
0
2K
Member Avatar for sergent

I made a simple assembly program about a year ago and I lost the source, but I still have the .exe file. I wanted to see the assembly code, so I disassembled the program with ollydbg and there was MUCH MORE code. There was about 3000-4000 lines of code, but …

Member Avatar for GunnerInc
0
184
Member Avatar for euwbah

Here you can share assembly code snippets for the YASM assembler and you can also help people with their YASM assembly programming and share 32-bit apps. :) I also have a problem when I do this (It is supposed to generate a very simple hello in the cmd(DOS/command.com/command prompt): [CODE] …

Member Avatar for euwbah
0
283
Member Avatar for zalia64

Help! I need to write some code for SIMD, 64-bit Intel X86. I am fluent with Masm; Where can I get a Masm version for 64-bit, and some documentation as to the changes in registers, changes in instructions set, etc? Anybody here has some experience with AVX ? any usefule …

Member Avatar for Tahir007
0
787
Member Avatar for aplee

Hi everyone, I have this problem, I developed the program in C#(winform) in my computer, when I try to publish it and install in my computer, it works fine. But when other users with different computer install, the are receiving this error : unable to install or run the application. …

Member Avatar for aplee
0
564
Member Avatar for soma dawoud

Write an assembly program that implements the following expression in assembly language : AX= ( -val2 + BX ) –val4 notes: - Use data definition directives to store the values of val2 and val4 - val2 and val4 are valuables with the following values Val2= 2000h , val4 = 20A0h …

Member Avatar for sergent
-1
203
Member Avatar for dante5458
Member Avatar for gusano79
0
102
Member Avatar for raseel

how could i read a text(character by character) from a file then store it in an array,using assembly(TASM only) for 8086 processor

Member Avatar for guyfromnola
0
9K
Member Avatar for soma dawoud

Write an assembly program that prints the numbers from 0-9 using the ASCII code. anyone help me please to solve this question>> :(

Member Avatar for Ancient Dragon
0
61
Member Avatar for mwmnj

I am trying to figure out how to make the return type of a procedure a reference parameter. Can anyone help me out? I am a complete noob so if you could try and explain things as best you can I would really appreciate it and would help. My code …

Member Avatar for mathematician
0
298
Member Avatar for Jaymz

So I have a task to write the algorithm for eratosthenes' sieve. The code works fine apart from the fact that it just won't print the newline when i need it. It just ignores the syscall for printing. I tried googling but couldn't find anything similar to my problem. The …

Member Avatar for Jaymz
0
2K
Member Avatar for tundra010

Hello! I have just started learning assembly language, and I have decided to use the NASM assembler. I made a small program, included below, that is supposed to take a number, add 5, and print out the final result. The program correctly prints the prompt, and takes a value, but …

Member Avatar for tundra010
0
244
Member Avatar for omar12

I need help in this.... code at assembly Input Enter NUM1 :5 Enter NUM2 :4 Enter Operation [A , M ,D] : A Output Result :9 thanks.....

-1
56
Member Avatar for jkoske

Hi I using gcc on a .S file to assemble my program. [CODE] #include <string.h> .text .global defaultBSTNode defaultBSTNode: pushl %ebp movl %esp, %ebp addl $last_local, %esp #//void * memset ( void * ptr, int value, size_t num ); pushl $bst_size pushl $0 pushl retValuePtr(%ebp) call memset addl $12, %esp …

0
68
Member Avatar for webmanyakable

Hello, I am new in assembly, and ı should write this code: Write a program correcting white spaces in a text file. The program should remove at least double spaces, spaces before dots, commas, etc.. and add missing spaces after them. Dots within decimal numbers should be treated properly. can …

Member Avatar for GunnerInc
0
69
Member Avatar for tubby123

Hello people, What exactly is a word ? I know a word is basically a unit and i know the word=2 bytes on an x-86 processor. But is the word size the same on an Itanium Processor as well ? I feel 1 word = 2bytes(x86) = 4bytes(32 bit system) …

Member Avatar for GunnerInc
0
87
Member Avatar for scobi

Hi, here i attached the picture and i draw this diagram using arrow keys from keyboard,if i press upward key then i draw vertical line etc...,in 8086 assembly language.

Member Avatar for scobi
0
84
Member Avatar for BradenMurphy

Hi, Is possible to load a .NET v3.5 assembly into a .NET v2.0 application? For example my application (written in delphi.NET) only supports .NET v2.0 and I would like to know can I load .NET assemblies compiled in .NET3.5 or greater? Regards, Braden Murphy

Member Avatar for kvprajapati
0
58
Member Avatar for laserlars

Hi! I use spim mips emulator and have the following code in my program: [CODE]li $v0, 8 la $a0, buffer syscall[/CODE] When i execute the program it just skips over the syscall instead of waiting for user input. I have a identical syscall earlier in the program that works fine. …

Member Avatar for Ancient Dragon
0
142
Member Avatar for Dewey1040

I'm working on a project where I have an executable file and the main function to the executable. The executable takes in 6 strings, one at a time, if the string matches what it is accepting then it will request the next string. The project is to use gdb debugger …

Member Avatar for Dewey1040
0
258
Member Avatar for kungfu71186

I am now completely lost. I thought i had the correct algorithm to solve this problem, but i can't seem to get it. Anyone have any ideas. I need to balance the parentheses and print each level. Ex: (this + (is) + an + example) It will go through it …

Member Avatar for bglasser
0
183
Member Avatar for devjeetroy

Hello guys, I wrote this program to encrypt a string. It uses the WriteConsoleA function to print output, and the ReadConsoleA function for the input. I have called all the functions using stack. Here is the code: [CODE].386 .model flat, stdcall option casemap:none include \masm32\include\windows.inc include \masm32\include\kernel32.inc include \masm32\include\masm32.inc includelib …

Member Avatar for GunnerInc
0
602
Member Avatar for xnutcracker

So I need to write a program..this is the basic outline: Start -Print "Enter input:" -Accept String and store from $2000 -> then print all letters in upper case -Count String length -> print -Count lower case letters -> print End **Got to use variables letterstotal = 0 and modifiedtotal …

Member Avatar for xnutcracker
0
194
Member Avatar for LMat619

Hi everyone. I am writing a code that receives two numbers and puts them into strings. The first number works fine, but when the program tries to get the second number, it crashes. I found out that the problem is with "12(%ebp)." If I change it to 8(%ebp) or 16(%ebp), …

Member Avatar for untio
0
172
Member Avatar for darkeclipse8

I'm doing a part C, part Assembly code but I'm getting a segmentation fault. And I haven't figured out why? Can anyone help? [CODE] #include <stdio.h> #define SZ 7 int* a[SZ]; int x, y, z; void populate() { x = 1; y = 2; z = 3; a[0] = &x; …

Member Avatar for untio
0
136
Member Avatar for imhiya

br r31, <0, +5 I'm confused how to make the br statement into binary as it carrys the <0 information. Do i have many versions of the br statement each with it's own opcode depending on the flag? Or do I have one opcode for all br statements and a …

0
67
Member Avatar for sergent

I started learning assembly today and I copied and pasted a program that displays hello world. I tried to modify it to use C function system("PAUSE") and I made this: [CODE][section .data] hello: db 'Hello, world!',10,0 pause: db 'PAUSE',10,0 [section .text] global _main extern _printf extern _system _main: push hello …

Member Avatar for sergent
0
692
Member Avatar for sergent

In Dos there was this file you can change that would change your starting directory when you start your computer. So I wonder is there such a file in Windows, because I am learning assembly programming and I want all my files to be in 1 place. Right now my …

Member Avatar for sergent
0
150
Member Avatar for skatamatic

Does anyone here know what is wrong with my code here? I am trying to write a c# library for use in VB6. I think I have tried just about everything on google and still continue to get the message "ActiveX component can't create object". I am a total VB6 …

Member Avatar for skatamatic
0
479
Member Avatar for scobi

If we press up arrow key then we get straight line of stars in 8086 assembly language?how....,up arrow key ascii=37.

Member Avatar for untio
0
65
Member Avatar for f.damati

Hello everybody :) I am trying to declare an array of characters as following (MIPS) array: .word '1s', '2s', '3s' unfortunately this is not working, it raises an error : Invalid language element '1s' how Can I manage this? I want each element to contain a number and a character …

Member Avatar for Sarah Gerald
0
81
Member Avatar for umair.sabri

[code] <%@Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="EducationInfo.aspx.cs" Inherits="EducationInfo" Title="Qualification"%> <%@Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1"%> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <script language="javascript"> function Delete() { return confirm("Are You Sure You Want To Delete This Record?"); } </script> <aja:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <table cellpadding="0" cellspacing="0"> <tr> <td> <table cellpadding="0" cellspacing="0"> <tr> <td> <asp:ValidationSummary ID="VSError" runat="server" …

Member Avatar for Ramesh S
0
370
Member Avatar for cj101

Hi, I'm making a system where only the supervisors can use the Ctrl+Alt+Del to bring up the menu (Vista / Windows 7) or start taskmanager (XP) Since my application will not be running on anything less than XP I don't need to worry about 95, 98, ME, 2000, etc. I …

Member Avatar for cj101
0
2K
Member Avatar for Skeldave

Hi, could someone explain to me how I can convert decimal to 5 bit 2s complement in assmbly please? Thanks.

0
69
Member Avatar for honberiz

I'm writing a program for class, to calculate the Fibonacci number given the n value. For some reason, my output goes negative at N=24. Does anyone understand MARIE Simulator enough to figure out what the issue is? [CODE] ORG 100 Input Input number Store N Store Ctr Loop1, Clear Load …

0
54
Member Avatar for gruffy321

hi all , can i access the parallel port using c`s assembly language syntax and using windows 98 se as the os or xp if i could (dont think xp is possible though, i dunno?) AOAP Thanks for reading , gruffy bw , if is possible can i get direction …

Member Avatar for gruffy321
0
512
Member Avatar for gruffy321

hi guys , what am i doing wrong here, i have instigated several approaches, in assembly 8086 using borland/turbo 7.0 pascal on win 98se (so i can communicate easily to parallel port and stipulation of assignment) my issue lies with being able to allow execution of a looped routine but …

Member Avatar for gruffy321
0
606
Member Avatar for Skeldave

Hi, Could someone explain to me how to create, store and manipulate variables please? At the moment i have this but I get errors: [code] BUTTONPRESSED DEFINE 0x000000 LDR r4, =BUTTONPRESSED ;Seems to be ok ADD r4, r4, #1 ;Seems to be ok MOV BUTTONPRESSED, r4 ;'Operand Syntax Error'[/code] All …

Member Avatar for Skeldave
0
108
Member Avatar for jamseyjames

I am trying to write a simple program using z390 IBM simulator. I want a program that prints the powers of 2 from 2^1 to 2^30. I know I need to shift and run a loop, I'm new to this language and am having a rough time. Any help would …

0
55

The End.