Continue to develop
; hello-OS; TAB=4ORG0x7c00; Indicate the loading address of the program; The following is a description of the floppy disk in standard FAT12 format JMP entry DB0x90DB"HELLOIPL"; ScanDisk's name DW +; The size of each sector (sector) DB1; The size of the cluster (cluster) DW1 ; Start position of fat DB2 ; Number of fat DW224; The size of the root directory DW2880; The size of the disk DB0xf0; type of disk DW9 ; The length of the Fat DW -; 1 tracks (track) has several sector DW2: Number of heads DD0; not available partition DD2880; rewrite disk size DB0,0,0x29 ; DD0xFFFFFFFF ; DB"Hello-os" ; Disk name DB"FAT12"; disk format name Resb -; 18 bytes first; program Core Entry:mov AX,0; initialize register mov ss,ax mov SP,0x7c00mov ds,ax mov es,ax mov si,msgputloop:mov al,[si] ADD SI,1to Si plus 1 CMP AL,0JE fin MOV AH,0x0e; display a text MOV BX, the; Specify the character color INT0x10; Call the graphics card bios in JMP putloopfin:hlt; Let the CPU stop, wait for instructions. JMP fin ; Infinite Loop msg:db0x0a,0x0a; 2-time line break DB"Hello, World"DB0x0a; line break DB0Resb0x7dfe-$; 0x7dfe and current byte fill DB with 0x000x55,0xaaThe following is the output DB of the part outside of ScanDisk0xf0,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00Resb4600DB0xf0,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00Resb1469432
An introduction to assembly language learning and Makefile