-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to develop a simple kernel using TASM, using this code:
; beroset.asm
;
; This is a primitive operating system.
;
;**********************************************************************
code segment para public use16 '_CODE'
.386
assume cs:code, ds:code, es:code, ss:code
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
.model small
.stack 400h
.data
message db "hello. ", 0ah, 0dh, "$"
firstdigit db ?
seconddigit db ?
thirddigit db ?
number dw ?
newnumber db ?
anumber dw 0d
bnumber dw 0d
Firstn db 0ah, 0dh, "Enter first 3 digit number: ","$"
secondn db 0ah, 0dh, "Enter second 3 digit number: ","$"
messageB db…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
.model small
.stack 100
.data
.code
mov ah,00h
mov al,0e3h
mov dx,00h
int 14h
back: nop
l1: mov ah,03h
mov dx,00h
int 14h
and ah,01h
cmp ah,01h
jne l1
mov ah,02h
mov dx,00h
int 21h
mov dl,al
mov ah,02h
int 21h
jmb back
mov ah,4ch
int 21h
end
this a pc to pc…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
hi all , i am trying to read a string from user in TASM assembly , i know i need a buffer to hold the input , max. length and actual length , but i seem to forgot how exactly we declare a buffer
my attempt was smth like this
Buffer db 80 ;max length
db ? ;actual length
db 80 dup(0);i…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Please help me!
How i can output character that moves around the perimeter of a rectangle (10*5 or 15*7) in console with TASM?
.MODEL small
.STACK 100h
.CODE
start:
mov ah,03
int 10h
mov cx,10
A:
push cx
mov ah,03
int 10h
mov ah,02h
inc dl
int…
>>> More