Hardware
Hardware is a general term that refers to the physical artifacts of a technology.
Language
Any
Platform
License
Any
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
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...
" ***** 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...
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...
Now how do I delete these duplicate posts of mine? I can edit them but can't seem to find a method to remove them...
Damn this forum is weird. Tells me "server error" 3 times when I try and post this but the posts went through anyway and the spam filter is going crazy on me right now!
RIP is the 64 bit long mode version of the instruction pointer. EAX is the 32 bit accumulator register. You cannot mix 32 bit and 64 bit code.
The MOV instruction is of the format MOV dest,source...
Hi, I'm currently working on understanding the x86 assembly language. I am currently stuck on understanding this instruction:
mov 0x28e89c (%rip), %eax
I know that rip is the instruction...
This method is kind of cheating :P
xor ax,ax
mov ds,ax
mov si,20h
shl si,2
mov ax,
push ax
lodsw
push ax
retf
That's quite an assignment...
Dos/windows/*nix/mac platform?
Real mode or protected mode?
Packbits is a type of RLE compression and is pretty easy.
RS-232 UART COM port programing sucks!...
First off 300:0 is a segment:offset style address so you need to set a segment register to access the right spot.
Second you must use brackets [] to indicate that a number refers to memory. I might...
And as a callable function...
;output AL to display (as hexadecimal number)
printHex:
aam 16 ; db D4h, 10h if your assembler doen't know this opcode...
cmp al,0Ah
sbb al,69h...
I know the thread is really old, but here's my two cents...
I compile with FASM but should be easy to add your "MODEL TINY" statments etc... to make it compile for TASM
; prints the scan code...
5 byte binary numbers? That is confusing. Can you give an example of these numbers? How are these numbers get into your program? Do you define them as text or as real bunary numbers. Or you need to...
I've interfaced with a COM port for RS-232 communication over a USB-RS-232 adapter cable and wondered if there was a way to make computer software to simulate this.
We all know about software that...
There are many assemblers like TASM, MASM, and NASM, but you should try NASM. It's free.
To write a program, you create a text file with your assembly commands. To compile, there are two different...