;This code was temporarily used in os.asm so that the value of fs could be viewed
;using a combination of the bin_dec and print library and system calls...
;It can be deleted if you don't want it - now real future plans for it...

	mov ax, shared_data_sel
	mov es, ax		;es will be changed anyway
	mov edi, temp_str
	xor eax, eax
	mov ax, fs
	call lib_bin_dec_csel:0	;convert fs into a hex string in es:edi

	push ds			;save ds
	mov ax, shared_data_sel	;get the shared_data_sel into ds so that print can access temp_str
	mov ds, ax
	mov esi, temp_str
	mov al, white
	call sys_print_csel:0
	pop ds

	;here

	mov ax, shared_data_sel
	mov es, ax		;es will be changed anyway
	mov edi, temp_str
	xor eax, eax
	mov ax, fs
	call lib_bin_dec_csel:0	;convert fs into a hex string in es:edi

	push ds			;save ds
	mov ax, shared_data_sel	;get the shared_data_sel into ds so that print can access temp_str
	mov ds, ax
	mov esi, temp_str
	mov al, white
	call sys_print_csel:0
	pop ds