Quantcast
Channel: x86 Assembly - Programmers Heaven
Browsing index pages (152 articles)

STATUS FLAG. Need help fast:)

Hi all. I want to check the Status Flag after a command but it gives wrong values! For example:After adding 126 with 127 Status Flag would be FFBA, BUT...when i run this code, it gives 7112: mov ax,...

View Article


two pass assembler for 8085

Hi folks, Can any one help me to implement two pass assembler for 8085 in vb.net? If u have the code pls do send it to me.

View Article


STATUS FLAG. Need help fast:)

Hi all. I want to check the Status Flag after a command but it gives wrong values! For example:After adding 126 with 127 Status Flag would be FFBA, BUT...when i run this code, it gives 7112: mov ax,...

View Article

VBE in protected mode

In the VBE 2.0 documentation they mention that a 32-bit protected mode interface is availiable.Does anyone have some nice documention on how to use vesa in protected mode?/Chris

View Article

Keyboard Interrupt to detect Space, right and left arrow keys

Hello. I have a homework. My development environment: Turbo C++ 3.0and programming Language Assembly, ANSI C. I have to detect when the user press Space or right or left arrow keys. It is forbidden...

View Article


To create a file is not working with this method

[code]-a0C89:0100 jmp 1110C89:0102-e 102 db 'C:exam.txt',0-a 1110C89:0111 mov ah,3c0C89:0113 mov cx,00C89:0116 mov dx,1020C89:0119 int 210C89:011B mov ah,4c0C89:011D int 210C89:011F-h 11f 100021F...

View Article

Where can I download Assembly Language?

Where can I download Assembly Language?

View Article

assambly matrix program

Hello. I had a task to write a program which finds minimal elements in each matrix column. I kinda wrote program, but when i check results they are kinda different.[code].model tiny.code.startup Org...

View Article


assambly matrix program

Hello. I had a task to write a program which finds minimal elements in each matrix column. I kinda wrote program, but when i check results they are kinda different.[code].model tiny.code.startup Org...

View Article


16-bit binary to decimal

How can i convert 16-bit binary to decimal. So basically i want to put a 16-bit binary number, in lets say registry dx. Then i want to print that number, but the printed value should be in decimals. So...

View Article

Test

This is a test.

View Article

linked lists

hey all!i'm new here..i'm new to assmebly and we will apparently have linked lists in our exam - even though we weren't taught in class due to lack of time. :-can anyone give me some link,simple...

View Article

x86 assembly Intel Syntax

This is my code so far for a multiply function that cannot use any multipaction and division operators. .intel_syntax noprefix .data .globl _x_x: .long 0 .global _y_y: .text .globl _fac _fac: push ebp...

View Article


x86 assembly Intel Syntax

This is my code so far for a multiply function that cannot use any multipaction and division operators. .intel_syntax noprefix .data .globl _x_x: .long 0 .global _y_y: .text .globl _fac _fac: push ebp...

View Article

decimal to binary, to hex, and to octal

please help! i need an assemly program converting a decimal number to binary, decimal to hex and decimal to octal!

View Article


Add 2 hex values and display the result

I have to write a program where the user inputs 2 individual hex values, 0-9 and A-F. The program must then add them and display the result in hex. In the following code I allready took care of 0-9 but...

View Article

x86 asm with Notepad problem

Hi.I am learning new x86asm.I'm trying to run this code:[code]MOV AH,02 MOV DL,"!" INT 21h MOV AH,04Ch MOV AL,00 INT 21h [/code]I'm saving Exam.asm with notepad in ANSI mod.After this file's extension...

View Article


Image may be NSFW.
Clik here to view.

Code assembles and links but bash rejects it

I just wrote this code, it assembles fine. I used GAS and it x86_64.I linked it like this:ld -o ./maximum /usr/lib64/crt1.o /usr/lib64/crti.o ./maximum.o -lcThere's no errors. But then I run it and I...

View Article

LES AX,SP and Windows NT DOS emulator

Hi all !A long time ago I had seen that the following instruction[code]les ax,sp[/code]had a strange effect on Windows NT's DOS emulator.I think it was the same with other instructions having C4C4h as...

View Article

Get the value of EIP?

[blue]Hello everyone,As some of you may know Im developing a 32bit OS. Im currentlydeveloping a way to trap kernel errors, and output debug information.The problem: I cant, of course, access EIP.I know...

View Article
Browsing index pages (152 articles)


Latest Images