An assembly language is a low-level language for programming computers.
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...
lea si,offset mystr
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...
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...
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...
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 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...
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...
001 TITLE (wCount.asm)
003 .model large
004 .stack 4096
009 msg byte 0dh, 0ah, 0dh, 0ah, "Demonisch Basic Word Count", 0dh, 0ah, "Type some text (maximum 100...
; Your task will be assessed as follows:
; It should assemble (1 mark)
; Implement the StackAdd operation (2 marks)
; Implement the StackSubtract operation (2 marks)...
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...
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...
I didn't read this thread well enough. My reply was already posted...
Original C program says:
"regs.h.al = 8;"
Asm program says:
It should say "mov al,8" instead and your code will be the same.
Although this is just the color to set the pixel......
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
"i want to read ram information from a desired address"
"i know assebmly"
...can you be more specific...?
mov dx,offset InvalidMessage
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....
" ***** 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...
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...
;and AX = BX + 1
;therefore root is non-integer "true" floating point
;AX = root (which is an integer)
"The next week I have to take an exam...