fix bugs
This commit is contained in:
parent
7b1e185790
commit
285f77c4fe
2 changed files with 3 additions and 5 deletions
|
|
@ -9,11 +9,9 @@
|
||||||
# ecx - base
|
# ecx - base
|
||||||
itoa:
|
itoa:
|
||||||
push %bx
|
push %bx
|
||||||
|
xor %edx, %edx
|
||||||
mov $numbers, %bx
|
mov $numbers, %bx
|
||||||
|
|
||||||
.debug:
|
|
||||||
jmp .debug
|
|
||||||
|
|
||||||
mov $(itoa_result + ITOA_BUFFER_SIZE - 1), %di
|
mov $(itoa_result + ITOA_BUFFER_SIZE - 1), %di
|
||||||
std
|
std
|
||||||
.div:
|
.div:
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@ MEMORY
|
||||||
|
|
||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
RAM = 0x7E00;
|
RAM = 0x7E00;
|
||||||
RAM_SEGMENT = (RAM >> 8);
|
RAM_SEGMENT = 0x7E0;
|
||||||
|
|
||||||
.text 0x0000 : {
|
.text 0x0000 : {
|
||||||
BOOTLOADER_START = .;
|
BOOTLOADER_START = .;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue