Import a debugging routine for strings

This commit is contained in:
Pierre Pronchery 2019-04-15 23:15:03 +02:00
parent fe650f735a
commit a77ffcd71a

View File

@ -7,6 +7,18 @@
#include "multiboot.S"
/* macros */
#ifdef DEBUG
# define DEBUG_STRING(s) \
pusha; \
push s; \
call puts; \
pop s; \
popa;
#else
# define DEBUG_STRING(s)
#endif
/* bss */
.section .bss