This commit is contained in:
mykola2312 2024-08-04 19:35:34 +03:00
parent 7b1e185790
commit 285f77c4fe
2 changed files with 3 additions and 5 deletions

View file

@ -9,11 +9,9 @@
# ecx - base
itoa:
push %bx
xor %edx, %edx
mov $numbers, %bx
.debug:
jmp .debug
mov $(itoa_result + ITOA_BUFFER_SIZE - 1), %di
std
.div:

View file

@ -6,7 +6,7 @@ MEMORY
SECTIONS
{
RAM = 0x7E00;
RAM_SEGMENT = (RAM >> 8);
RAM_SEGMENT = 0x7E0;
.text 0x0000 : {
BOOTLOADER_START = .;