Assembly
An assembly language is a low-level language for programming computers.
Forum Post

Re: help with operating system (running programs?)

Your floppy disk will be FAT12 if it is a 3.5 inch 1.44 meg disk unless you want to use a custom formatting routine. Save FAT16 access for old hard disks or virtual machines. The boot sector on...
Forum Post

Re: String Entry from keyboard--Could somebody help me?

try: lea si,offset mystr add si,dx lea di,offset mysubstr and I may be misunderstanding because binary coded decimals make me confused, but you seem to be adding your length and offset...
Forum Post

Running programs from command line in asm

Hi! I'm currently programming a os in asm, and currently I need help with one thing. How do I run binaries from my boot-floppy? I'm currently setting up the kernel to read fat16, and it reads the...
Forum Post

Re: String Entry from keyboard--Could somebody help me?

I worked on my code... We are using emu8086. I'm stacked at the point where I need to transfer the data from my initial string mystr to my substring mysubstr. I can't use lea si+ and I don't know how...
Forum Post

String Entry from keyboard--Could somebody help me?

I am asked to make a program in Assembly that I have to extract a sub-string from an initial string that would be entered from keyboard. From the keyboard I also have to enter two numbers. The...
Forum Post

Re: Division of 2 signed integer numbers

The 8051 is used to control the keyboards of many PC's. All math operations must use the accumulator register and the opcodes are all pretty much the same as the more advanced 8086. I don't know...
Forum Post

Re: urgent.i cant run these program in tasm.what is the problem?

To sius87: if the 3 digit numbers on the left of each line is there, then that's your problem; take them off. If not, then you need to include error messages from your system and assembler so...
Forum Post

urgent.i cant run these program in tasm.what is the problem?

001 TITLE (wCount.asm) 002 003 .model large 004 .stack 4096 005 .386 006 007 .data 008 009 msg byte 0dh, 0ah, 0dh, 0ah, "Demonisch Basic Word Count", 0dh, 0ah, "Type some text (maximum 100...
Forum Post

NASM assembly programming within the x86 (i386) architecture.

./lab6 ; ; Your task will be assessed as follows: ; ; It should assemble (1 mark) ; Implement the StackAdd operation (2 marks) ; Implement the StackSubtract operation (2 marks)...
Forum Post

Getchar and PutChar

I am trying to program in assembly for the HCS12 and need to learn how to use the getchar and putchar. I did the examples I found in a book, but that does not really go into detail as to how to use...
Forum Post

Re: Win98 OS Command.com is 93,880 bytes!

I don't have 95/98 anymore, but I remember inspecting command.com one time after thinking the same thing, and I recall it had a valid .exe header at the start of it. I assumed they renamed it from...
Forum Post

Re: Get the value of EIP?

I didn't read this thread well enough. My reply was already posted...
Forum Post

Re: BIOS 10h error

Original C program says: "regs.h.al = 8;" Asm program says: "mov al,9" It should say "mov al,8" instead and your code will be the same. Although this is just the color to set the pixel......
Forum Post

Re: Push and Pop

80286 and after push the value then decriment sp. 8086 and 80186 chips decriment sp then push the value. The Intel documented method for detecting the presence of a 186 chip involves PUSH SP...
Forum Post

Re: Reading ram information?

"i want to read ram information from a desired address" ... "i know assebmly" really? mov ax, ...can you be more specific...?
Forum Post

Re: i need help..

mov bl,al cmp bl,'Z' jna notLowerCase mov dx,offset InvalidMessage mov ah,9 int 21h mov ah,4ch int 21h notLowerCase: add bl,32b
Forum Post

Re: string reverse.. help..

I'm really tired and only spent 5 minutes on this... but I think I didn't make any terrible errors... ; assuming SI is already set to point to InputBuffer.... fineEnd: lodsb cmp al,13...
Forum Post

Re: Works in Vista ?

" ***** FILE is NOT recoverable !!!! **** " This program uses int 21h function 40h to overwrite. This interrupt uses buffered I/O... This means that under all versions of dos and windows it...
Forum Post

Re: Defining an array under Dos debug

at the debug prompt you can use 'F' Fill "F range list" for example "F cs:100 200 1 2 3 4" fills 256 bytes from cs:100 to cs:200 to the pattern 1,2,3,4 (4 bytes) debug also supports the DB...
Forum Post

Re: Fractional and Integer part

BX ;and AX = BX + 1 ;therefore root is non-integer "true" floating point ret perfectMatch: ;AX = root (which is an integer) ret "The next week I have to take an exam...
 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.