2,878 Topics

Member Avatar for
Member Avatar for UtaChan

Let;s say I declare [CODE]arr db 1,2,3[/CODE] How do I know arr's size afterwards? is there a command for it? I know there is something about arr-$ or something that I can declare in the ds segment but I think it works for strings only...

Member Avatar for UtaChan
0
8K
Member Avatar for orion3184

Hello, I'm new to assembly and am finding myself porting someone's MASM old code to C++ for portable smartphone architectures. There's a syntax on the memory addressing I'm having trouble interpreting. Can anyone help me understand what's going on? It's probably an easy question for everyone familiar with the syntax, …

0
146
Member Avatar for L0s3r

Hello guys. I currently code in C++.But I want to gain knowledge of internals of C++.So , I want to analyse my each and every program in ASM. I use Windows 7 platform and code::blocks.Please provide necessary information or tools , which can help me in this regard. Thanks!

Member Avatar for gusano79
0
226
Member Avatar for jagdish007

hey...I am newbie in these section..I also don't know how run these assembly program and in which edit I write these programs...pls help

Member Avatar for Schol-R-LEA
0
560
Member Avatar for simpsonzia

Hi, guys! I started to learn assembly just a few months ago. Last time I wrote a small program to compute the CPU frequency, and it worked out. Two weeks later, however, when I recompiled the program, I couldn't get the correct result. It's about 4-5 times less than the …

Member Avatar for coffeeuncle
0
244
Member Avatar for billgateswannab

being new to assembly... My head is really spinning trying to understand all the concepts. It is quit different from the php i've been programming the last 8 years. So here is my question...could someone please help me to understand the purpose and uses of a STACK. I know it …

Member Avatar for moegi
0
110
Member Avatar for lochnessmonster

i'm currently still trying to understand the internals of the following code being executed in c++ [code] int main() { std::cout << "Just now entering inside of main" << std::endl << std::endl; return 0; }[/code] Here is the assembly code i obtained from an assembly line debugger [code] 012E1207 |. …

Member Avatar for Schol-R-LEA
0
724
Member Avatar for evil_iguana

Hi, I'm trying to write a maze program in MIPS and have almost all of it working except the recursion part. For some reason, it does not correctly move through the maze. In my code, the maze is fixed at 5x5. A 1 in the "maze" data indicates it's blocked. …

Member Avatar for GunnerInc
0
888
Member Avatar for Seaboot

I am interested in learning simple 16 bit interaction of code between Turbo C++ 3 and Masm 6.11. Could anyone describe how that would basically work in terms of what statements in either contribute towards the interaction. Thanks.

Member Avatar for Ancient Dragon
0
257
Member Avatar for iret

Just some random thoughts :) DOS runs natively in 16-bit Real Mode. EMS, and Himem, memory managers (to my best knowledge) provide their services by jumping in and out of Protected Mode. 32-Bit Protected Mode programs use a DOS extender to jump into Protected Mode, and provide 32-Bit services. A …

Member Avatar for iret
0
226
Member Avatar for dks1383

Hi all I need an assembly program (x86) that gets x and n from user then calculate x^n (x power n ) and shows the result. Where can I find an opensource program for it? Thanks

Member Avatar for eeeraser
-2
180
Member Avatar for zylog

HI i have a separate module written for sony mobile for network connectivity . does any one have any knowledge on how to convert it to bada

0
55
Member Avatar for iret

I wanted to get a feel for preemptive multi-tasking. The easiest way I could think of was to write Real Mode boot code. To compile: [ICODE]nasm bt.asm -o bt.img[/ICODE] I ran this by loading bt.img as a floppy image under VirtualBox. Not sure if it'd work with other emulators. The …

0
65
Member Avatar for gsingh2011

The assembly code below is equivalent to: [CODE]a=1; b=1; if(a=b){ x=2+2 }[/CODE] It is generated code so don't worry about inefficiency. My problem is when I use the sete command I get the error "error: invalid combination of opcode and operands". Here is the code: [CODE][list -] %include 'win32n.inc' [list …

Member Avatar for gsingh2011
0
336
Member Avatar for QuesoTaco

So I am taking a class in Viruses and Defense against Viruses. As such there entails much x86 programming. I do know how to program in x86 and the calling conventions and so forth. But that is only because I learned it from my instructor. However, I am not sure …

Member Avatar for iret
0
208
Member Avatar for salohcin

i currently doing a project on silab C8051F120 using ASM langauge i need to have 2 interrupt where if 1 of the push button is press it will hang and pause and another is a master reset however i need to map port 1.4,1.5 to int0 to int1 so when …

Member Avatar for sinokard
0
166
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
110
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
61
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
283
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
96
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
233
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
108
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
177
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
277
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
747
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
199
Member Avatar for dante5458
Member Avatar for gusano79
0
98
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
59
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
293

The End.