Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
94% Quality Score
Upvotes Received
14
Posts with Upvotes
12
Upvoting Members
12
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
3 Commented Posts
0 Endorsements
Ranked #864
~87.8K People Reached
Interests
Coding in Assembly! SIB!
Favorite Tags
Member Avatar for b1izzard

Hi friends, I am a newbie to Assembly Language programming, I don't know whats the equivalent Assembly code for NASM compiler and moreover is there any compiler available for ubuntu so that I can run my TASM code as it is? Here is my simple code that works fine in …

Member Avatar for deva_2
0
1K
Member Avatar for Idestruction

Hello all! I am trying to complete a lab assignment for my computer systems class and we have to use the printf function to print changing register values (increment eax from 1 to 10, decrement ebx from 10 to 1). Here is my code: [CODE]; Purpose: To print data to …

Member Avatar for John_310
0
22K
Member Avatar for NewbieChameleon

I'm just starting out with Assembly languege, having installed NASM on openSUSE 13.1, i386 family processor yesterday. My worry is that a simple program like "Hello World!" has flagged a warning when linking...see line 3 below: 1. coker.mu@linux-jm54:~/nasm> nasm -f elf helloWorld.asm 2. coker.mu@linux-jm54:~/nasm> ld -m elf_i386 -s -o helloWorld …

Member Avatar for Kaveri_2
0
869
Member Avatar for Roger_2

please help me, i need to print my array in nasm. this is what i have so far, section .bss section .data array dd 1,2,3,4,5 arraylen equ $ - array section .text global _start: _start: mov edx, arraylen mov ecx, array mov ebx, 1 mov eax, 4 int 80h exit: …

Member Avatar for Roger_2
0
13K
Member Avatar for damico.luca91

Hi all, I'm learning GAS assmbler, and I've written the following test program: .code32 .section .data values: .int 1,2,3,4,5,6,7,8,9 output: .asciz "current value %d" .section .text .globl _start _start: movl $10, %edi loop: movl values(,%edi,4),%eax pushl %eax pushl $output call printf addl $8, %esp dec %edi jnz loop pushl $0 …

Member Avatar for GunnerInc
0
209
Member Avatar for recher_14263

hi how can download a file (for example file.text) from an url in assembly language programing in mac osx or linux

Member Avatar for GunnerInc
0
1K
Member Avatar for xcarbonx

Hello, I was just wondering if it is possible to create a data struct in assembly 8086. For example, creating a struct that holds a student's name and ID number.

Member Avatar for Assembly Guy
0
3K
Member Avatar for lupacarjie

Hello! I am creating an assembly program that accepts a single character and displays the alphabet in reverse. The requirements are (1) The input character should be displayed (2) The alphabet should be displayed vertically and (3) Only the letter 'Z' should be accepted as input. I have managed to …

Member Avatar for lupacarjie
0
9K
Member Avatar for Echo89

So, When I assemble this code, I get no errors. It flies through the build. However, when I go to execute this code, it does not display the window. I am unsure of why. I have tried invoking messageboxes at the start or WinMain, but it seems it's not getting …

Member Avatar for GunnerInc
0
245
Member Avatar for aiwasen

I'm trying to install MASM 8.0 but the instaler stops before the end! I already downloaded visual Visual C++ 2005 Express Edition but then it disappears and nothing else happens.

Member Avatar for GunnerInc
-1
108
Member Avatar for silvercats

1. Is a 32bit register 32 bits in size and a 64bit is 64bits? 2.What is decoding in a processor? 3.Are there real pcitures of processor registers? where?

Member Avatar for mathematician
-1
170
Member Avatar for Huck44

I am trying to write a program that prompts for 5 signed integers that need to be put into an array. and then I have to do a 4th degree polynomial. The array stores a,b,c,d,e and there is a seperate x value. Can someone help please?

Member Avatar for GunnerInc
0
175
Member Avatar for peterbob

Hey guys, I am new to assembly and I am having a problem compling the code. section .text global _start _start: xor eax,eax push eax push dword 0x71242776 push dword 0x76747977 push esp pop esi mov edi,esi mov edx,edi cld mov ecx,0x80 mov ebx,0x41 xor eax,eax push eax lodsb xor …

Member Avatar for peterbob
0
277
Member Avatar for AlitaMixx

Here's the problem, I was wondering if i am right to assume that when a three-digit input is entered, i.e. 123, then the string 1 will be stored to al, 2 to ah, but i'm not sure where the 3 goes, or if ever it's plain wrong to look at …

Member Avatar for GunnerInc
0
967
Member Avatar for jefanot

Hey guys, anyone know how to setup FASM on geany so the compile and the execute will work? This is what I currently do: Compile: `./fasm "%f"; chmod a+x %e.com` Execute: `./%e.com` When I compile it, it seems to be okay. When I execute, however, it gives this: `�: not …

Member Avatar for GunnerInc
0
101
Member Avatar for 4344

.386 .model flat,stdcall option casemap:none WinMain proto :DWORD,:DWORD,:DWORD,:DWORD include \masm32\include\windows.inc include \masm32\include\user32.inc include \masm32\include\kernel32.inc include \masm32\include\gdi32.inc include \masm32\include\winmm.inc includelib \masm32\lib\user32.lib includelib \masm32\lib\kernel32.lib includelib \masm32\lib\gdi32.lib includelib \masm32\lib\winmm.lib .data ClassName db "SimpleWinClass",0 AppName db "SimpleVirtualPiano",0 szText db 'This is a Simple VirtualPiano----------->made bu liuwei 2003.11.19',0h .data? hInstance HINSTANCE ? hdc HDC ? …

Member Avatar for GunnerInc
0
124
Member Avatar for st_infamous

I got this delay routine while searching the internet for ways to introduce a time delay (4-5 sec) in my assembly program. I fed it into a HelloWorld program to display 'Helloworld' box message after 10 sec from the execution of the program. Here's the code .386 .model flat, stdcall …

Member Avatar for GunnerInc
0
135
Member Avatar for silvercats
Member Avatar for DeanMSands3

In my wayward youth, I learned a little bit of inline assembler in Turbo C. And that was fun. Then I got into DJGPP which came with GCC and Bell Syntax. And it was confusing. And I gave up. Fast forward 12 years. I'm 30, finishing a bachelor's in CS. …

Member Avatar for DeanMSands3
0
218
Member Avatar for iPanda

I have an assignment to make a code that will check what is the longest "string" of zeros inside a double word binary number, for example (in a Byte) if I have this number: 10010001 The answer will be 3. The code I've written works fine until a certain point …

Member Avatar for GunnerInc
0
106
Member Avatar for kikic

Hello, I need help for my task.. This is the matrix 1 2 3 4 5 6 7 8 9 the result is 1,4,7,8,9,6,3,2,5 I have to solve this task in assembler 8086 in emu... I need help, it is very important for me. Please help me

Member Avatar for kikic
0
5K
Member Avatar for rithish

i used turb0 c++ in windows 7 but i does not display a full screen mode.are there any tools that run c and c++ in windows 7???

Member Avatar for Schol-R-LEA
0
403
Member Avatar for Diogo Martinho

This is probably an easy thing to do but I don't know how. How can I declare in the .data section one pointer to an integer?

Member Avatar for Diogo Martinho
0
69
Member Avatar for datdude07

Hi I'm stumped on how to make this program that I'm working on to output the information to the text file in a nice fashion instead of writing it in a funny way. I basically want this program to output the student record information line by line and organized. The …

Member Avatar for datdude07
0
152
Member Avatar for baldwindc

Hi, in a given c program where you have [CODE]myvar = sumR(char * arg1, int arg2)[/CODE] sumR is a function in an assembly .s file. I have done all the calculations, but I have no idea how to return the value to the calling c program. Any ideas? Thanks so …

Member Avatar for GunnerInc
0
678
Member Avatar for meowbits

I am in an assembly class and we are now working on using files. Part of the assignment is to make a file and write an array full of values into it. I have been working on this assignment for some time and I am stuck on the file portion. …

Member Avatar for meowbits
0
214
Member Avatar for Kerok

I need to write a program where the user input their name, the program will tell them 'Hello,' and then show the user's name backwards. This is what I have: [CODE]INCLUDE Irvine32.inc .data pleaseEnter BYTE 'Please enter your name: ', 0 StringName BYTE 30 DUP(0) yourName BYTE 'Hello, ', 0 …

Member Avatar for Kerok
0
962
Member Avatar for datdude07

Hi I keep getting an error when trying to assemble and run my code and would like to know why. It says there is a syntax error in line 21 and "directive must be in control block" error in line 23. The program is supposed to write a square made …

Member Avatar for datdude07
0
219
Member Avatar for datdude07

Hi I was wondering if anyone could help me figure out why every time I try to run this code it keeps bringing up an error of "cannot nest procedures". I need to use the PROTO and PROC directives in this program for my HW assignment. I'm also trying to …

Member Avatar for datdude07
0
437
Member Avatar for muzaheed

i am a computer science student.i have no interest on assembly.just doing it for my course. so can anybody suggest me any good assembly compiler? in my university lab they use Masm. but it is too old and do not show in which line error is and no auto code …

Member Avatar for GunnerInc
0
100