2,888 Topics

Member Avatar for
Member Avatar for eniwe

The lines of code below are borrowed from the print media. My focus is on the assembly; so by making use of these lines, iam trying to understand certain features of the assembly that are unclear to me. I was able to follow a few lines of code, and then …

Member Avatar for Mattye134
0
208
Member Avatar for dansnyderECE

I'm trying to compile a c# file and generate an asm or s file to be disassembled and run in PSIM. Whenever I try to do this I get errors. I am attempting to compile to mipsI-linux. I think I've determined that my cross compiler that was given to me …

0
67
Member Avatar for skyir
Member Avatar for dansnyderECE

I'm attempting to test an assembly file compiled from my c++ program and I keep getting errors. My program is a simple "hello world" but no matter what I try and what variation of assembly files I try I can't get a solid run on anything bu the exception.s that …

Member Avatar for dansnyderECE
0
937
Member Avatar for Diamondo25

Hello, I'm wondering why this command "mov eax, [eax]" changes the content of eax from rubbish to a readable string in the following code: [CODE] ___:004160CB arg_0= dword ptr 4 ___:004160CB ___:004160CB mov eax, [esp+arg_0] ___:004160CF push esi ___:004160D0 mov esi, ecx ___:004160D2 cmp esi, eax ___:004160D4 jnz short loc_4160DA …

Member Avatar for wildgoose
0
161
Member Avatar for godfather2007
Member Avatar for R3k

Ok, Hey guys. I was wondering how I would come about performing basic addition in GCC using inline Intel syntax assembly. I have a way of doing it in AT&T but in my opinion I just prefer using Intel generally. Ok, My AT&T code is this: [CODE=C]#include <stdio.h> int main() …

Member Avatar for R3k
0
543
Member Avatar for overlordlink

Ok I was watching a you tube video and this guy had completely remade the portal still alive console thing and he had all the code posted on his site. Now of course the only problem with that is that i don't know what to do with it because it …

Member Avatar for wildgoose
0
140
Member Avatar for blah32

Does anyone know of a script or program that will convert A86 written assembly programs to any other type of assembly (such as NASM or AT&T for GCC)? I have searched online and haven't found anything very solid. Let me know, thanks.

0
57
Member Avatar for faaz

What is this code doing exactly? [CODE] mystery: pushl %ebp movl %esp, %ebp subl $20, %esp movl $0, -4(%ebp) jmp .L2 .L3: movl -4(%ebp), %eax sall $2, %eax addl 8(%ebp), %eax movl (%eax), %eax cmpl 16(%ebp), %eax jne .L4 movl $1, -20(%ebp) jmp .L6 .L4: addl $1, -4(%ebp) .L2: movl …

Member Avatar for wildgoose
0
96
Member Avatar for Drugarce

Hi, I am new in assembly and i nave some problems. I am working on some project for school i should read text from .txt file. The problem is that i don't now how to get the number of chars contained in .txt file that i need to store in …

Member Avatar for NotNull
0
6K
Member Avatar for ivanCeras

got some questions about .com and .exe files Whats the main difference between the two file types? When two files of the same file name one with .com extension.. the other .exe why does windows give higher priority to the .com file? help me figure it out pls ;)

Member Avatar for NotNull
0
2K
Member Avatar for evanescence

Hi, I'm pretty new to writing stuff in Assembler . Now I'm trying to run some code that puts the odd numbers from an array to a second one, and the even numbers to a third one. I don't really know how to make the transfer. I tried with MOVSB …

Member Avatar for NotNull
0
131
Member Avatar for M.Shakeel

hello sir can you help me about assembly language . I want to know how can I made a program to oprate a machein. Sir pleas help me. Thanks sir.

Member Avatar for HarryTruman
0
133
Member Avatar for avarionist

im having a bit of trouble reserving space and with labels a.asm:6: error: parser: instruction expected edit should mention im using intel syntax [CODE] section .data msg db "test",0x10 section .bss mtstr resb 1000 string resb 1000 public _print mov eax,4 mov ebx,1 mov string,mtstr mov ecx,string mov edx,1000 section …

Member Avatar for avarionist
0
179
Member Avatar for Crysomere

Hello, I attempted to create a linked list in Assembly which takes the values from x and stores them into the list LinkNode. While it does work properly in doing this, I am unable to get any calls to procedures to work after calling my GetLink procedure. The calls seem …

Member Avatar for Crysomere
0
89
Member Avatar for rexins

Hallo, I have to develop a SPIM/MIPS programm, which read an integer from the user and change this integer into binary system (like for example 00011000) My idea was this one, but it doesn't work: I think the problem is the space segment. maybe somebody see the problem and can …

Member Avatar for wildgoose
0
437
Member Avatar for maretti

hello dear, i have little problem with my code can somebody help me: thats the problem: Write the assembler instructions that will Convert Celsius Degree to Fahrenheit degree. Note that if the degree is 0 grades Celsius, print out information: “The highway is freezing”. Note that the Celsius degrees need …

Member Avatar for wildgoose
0
86
Member Avatar for Srcee

The results of an exam are in this order: 72, 40, 94, 18, 80 and are in the data segment. You should write an assembly program which will determine the best result and will put it on location BEST in the same segment that should be defined after the array. …

Member Avatar for wildgoose
0
103
Member Avatar for ejup_555

Write the assembler instructions that will read the text document located starting from memory location 020AH. The last line of text document is specified by escape character ‘\’. While reading print out the text that starts from character 11 to character 20. Comment your assembler instructions. this is the assignment. …

Member Avatar for wildgoose
0
78
Member Avatar for Choink23

we were tasked to come up with a peer 2 peer chat program using serial ports using only nasm and C language. can anyone give me an idea on how i can do it? or references that can help me figure out what to do. i'd really appreciate you're help …

Member Avatar for thxliatdu
0
77
Member Avatar for unbreakable

Hi all .. i have shellexecute problem in ollydebug.. [CODE]0055B8DD > 57 PUSH EDI ; /IsShown 0055B8DE . 56 PUSH ESI ; |DefDir 0055B8DF . 56 PUSH ESI ; |Parameters 0055B8E0 . 68 08646D00 PUSH Unpacked.006D6408 ; |FileName= "Option.exe" 0055B8E5 . 68 00646D00 PUSH Unpacked.006D6400 ; |Operation = "open" 0055B8EA …

0
81
Member Avatar for Srcee

What will be in CH and AH after these commands? MOV AX, 1234 MOV BP, AX MOV DX, 999 MOV DI, DX MOV CH, 222 [bp+di]

Member Avatar for Srcee
0
186
Member Avatar for c++noobie

I'm running Arch Linux on an x86_64 system with a patched 2.6.33 kernel for bootsplashing, shouldn't affect what I'm doing. I'm trying to print out a number to the screen. I'm fairly new to assembly, and I don't really know my way around convention or other things to make it …

0
87
Member Avatar for Srcee

What would be in registers ax, ah and al after these commands: MOV AX, 1010 MOV AH, 5 ADD AL, 5 I understand that ax contains ah and al but I don't know the answer of this question

Member Avatar for Srcee
0
90
Member Avatar for maf5693

I am building a new OS as a learning experience, and after trudging through intel architecture manuals and osdever tutorials I still have no idea how to write a keyboard device driver- using BIOS calls and interrupts is outdated and I have no idea how to directly interface the keyboard …

Member Avatar for maf5693
0
191
Member Avatar for mattloto

I am learning assembly and I have a question about interrupts. Are they bound to a specific OS? I, like a lot of people, want to make a simple OS of my own, not that I ever will. I was wondering if I can use interrupts like 10h without having …

Member Avatar for maf5693
0
95
Member Avatar for joaonascimento

Hi! I have this program: [CODE]include emu8086.inc name "CALC" ; output file name (max 8 chars for DOS compatibility) ORG 100H JMP MAIN A DW ? B DW ? X DW 0, '$' Y DB 0, '$' MAIN: LEA DX, OPCAO CALL ESCREVA CALL LER MENU1: CMP AL,'1' JE SOMA …

0
54
Member Avatar for shonabagylas

hi is it true that reverse engineering a compiled python "program" is significantly easier than other languages ? thank you

0
20
Member Avatar for maf5693

hi I have been looking around for a good file io tutorial and I cant find any. It is simple enough to me the process, mov dx,043h mov al,54 out dx,al etc. but i have no idea which ports go to where or how to write to a hard disk …

Member Avatar for maf5693
0
238

The End.