// File: /workspace/github_cpp_makefile_star2_O3/yukioc[P]tscrpt/t-tscrpt.cpp
// Function: t_number()
void t_number() {/*{{{*/
	tscrpt_t sc;
	obj_t*o;
	//! \test decimal: 1 => 1
	o = sc.eval("1");
	mu_assert(o!=NULL);
	mu_assert(o->type=='N');
	mu_assert(o->value()==1);
	delete o;

	//! \test octal: 012 => 10
	o = sc.eval("012");
	mu_assert(o!=NULL);
	mu_assert(o->type=='N');
	mu_assert(o->value()==10);
	mu_assert(o->str().compare("10")==0);
	delete o;

	//! \test hexadecimal: 0x14 => 20
	o = sc.eval("0x14");
	mu_assert(o!=NULL);
	mu_assert(o->type=='N');
	mu_assert(o->value()==20);
	delete o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x276a
leaq 0x3374(%rip), %rsi      # 0x795f
movq %rbx, %rdi
callq 0x27e2
movq %rax, %r14
movq %rax, %rbx
movl 0x5b75(%rip), %eax      # 0xa174
incl %eax
movl %eax, 0x5b6d(%rip)      # 0xa174
testq %r14, %r14
jne 0x4639
incl 0x5b5a(%rip)            # 0xa16c
leaq 0x2d8e(%rip), %rdi      # 0x73a7
leaq 0x2da5(%rip), %rsi      # 0x73c5
leaq 0x2fb8(%rip), %rcx      # 0x75df
movl $0x6f, %edx
xorl %eax, %eax
callq 0x2040
movl 0x5b3b(%rip), %eax      # 0xa174
incl %eax
movl %eax, 0x5b33(%rip)      # 0xa174
cmpb $0x4e, (%rbx)
je 0x4673
incl 0x5b20(%rip)            # 0xa16c
leaq 0x2d54(%rip), %rdi      # 0x73a7
leaq 0x2d6b(%rip), %rsi      # 0x73c5
leaq 0x2f86(%rip), %rcx      # 0x75e7
movl $0x70, %edx
xorl %eax, %eax
callq 0x2040
movl 0x5b01(%rip), %eax      # 0xa174
incl %eax
movl %eax, 0x5af9(%rip)      # 0xa174
movq %rbx, %rdi
callq 0x260c
cmpl $0x1, %eax
je 0x46af
incl 0x5ade(%rip)            # 0xa16c
leaq 0x2d12(%rip), %rdi      # 0x73a7
leaq 0x2d29(%rip), %rsi      # 0x73c5
leaq 0x2f51(%rip), %rcx      # 0x75f4
movl $0x71, %edx
xorl %eax, %eax
callq 0x2040
movq 0x8(%rbx), %rdi
addq $0x18, %r14
cmpq %r14, %rdi
je 0x46c7
movq (%r14), %rsi
incq %rsi
callq 0x2150
movl $0x30, %esi
movq %rbx, %rdi
callq 0x2150
leaq 0x2f27(%rip), %rsi      # 0x7602
movq %rsp, %rdi
callq 0x27e2
movq %rax, %r14
movq %rax, %rbx
movl 0x5a85(%rip), %eax      # 0xa174
incl %eax
movl %eax, 0x5a7d(%rip)      # 0xa174
testq %r14, %r14
jne 0x4729
incl 0x5a6a(%rip)            # 0xa16c
leaq 0x2c9e(%rip), %rdi      # 0x73a7
leaq 0x2cb5(%rip), %rsi      # 0x73c5
leaq 0x2ec8(%rip), %rcx      # 0x75df
movl $0x76, %edx
xorl %eax, %eax
callq 0x2040
movl 0x5a4b(%rip), %eax      # 0xa174
incl %eax
movl %eax, 0x5a43(%rip)      # 0xa174
cmpb $0x4e, (%rbx)
je 0x4763
incl 0x5a30(%rip)            # 0xa16c
leaq 0x2c64(%rip), %rdi      # 0x73a7
leaq 0x2c7b(%rip), %rsi      # 0x73c5
leaq 0x2e96(%rip), %rcx      # 0x75e7
movl $0x77, %edx
xorl %eax, %eax
callq 0x2040
movl 0x5a11(%rip), %eax      # 0xa174
incl %eax
movl %eax, 0x5a09(%rip)      # 0xa174
movq %rbx, %rdi
callq 0x260c
cmpl $0xa, %eax
je 0x479f
incl 0x59ee(%rip)            # 0xa16c
leaq 0x2c22(%rip), %rdi      # 0x73a7
leaq 0x2c39(%rip), %rsi      # 0x73c5
leaq 0x2e73(%rip), %rcx      # 0x7606
movl $0x78, %edx
xorl %eax, %eax
callq 0x2040
incl 0x59cf(%rip)            # 0xa174
movq %rbx, %rdi
callq 0x2654
leaq 0x3069(%rip), %rsi      # 0x781d
movq %rax, %rdi
callq 0x2080
testl %eax, %eax
je 0x47e7
incl 0x59a6(%rip)            # 0xa16c
leaq 0x2bda(%rip), %rdi      # 0x73a7
leaq 0x2bf1(%rip), %rsi      # 0x73c5
leaq 0x2e3a(%rip), %rcx      # 0x7615
movl $0x79, %edx
xorl %eax, %eax
callq 0x2040
movq 0x8(%rbx), %rdi
addq $0x18, %r14
cmpq %r14, %rdi
je 0x47ff
movq (%r14), %rsi
incq %rsi
callq 0x2150
movl $0x30, %esi
movq %rbx, %rdi
callq 0x2150
leaq 0x2e1c(%rip), %rsi      # 0x762f
movq %rsp, %rdi
callq 0x27e2
movq %rax, %r14
movq %rax, %rbx
movl 0x594d(%rip), %eax      # 0xa174
incl %eax
movl %eax, 0x5945(%rip)      # 0xa174
testq %r14, %r14
jne 0x4861
incl 0x5932(%rip)            # 0xa16c
leaq 0x2b66(%rip), %rdi      # 0x73a7
leaq 0x2b7d(%rip), %rsi      # 0x73c5
leaq 0x2d90(%rip), %rcx      # 0x75df
movl $0x7e, %edx
xorl %eax, %eax
callq 0x2040
movl 0x5913(%rip), %eax      # 0xa174
incl %eax
movl %eax, 0x590b(%rip)      # 0xa174
cmpb $0x4e, (%rbx)
je 0x489b
incl 0x58f8(%rip)            # 0xa16c
leaq 0x2b2c(%rip), %rdi      # 0x73a7
leaq 0x2b43(%rip), %rsi      # 0x73c5
leaq 0x2d5e(%rip), %rcx      # 0x75e7
movl $0x7f, %edx
xorl %eax, %eax
callq 0x2040
movl 0x58d9(%rip), %eax      # 0xa174
incl %eax
movl %eax, 0x58d1(%rip)      # 0xa174
movq %rbx, %rdi
callq 0x260c
cmpl $0x14, %eax
je 0x48d7
incl 0x58b6(%rip)            # 0xa16c
leaq 0x2aea(%rip), %rdi      # 0x73a7
leaq 0x2b01(%rip), %rsi      # 0x73c5
leaq 0x2d69(%rip), %rcx      # 0x7634
movl $0x80, %edx
xorl %eax, %eax
callq 0x2040
movq 0x8(%rbx), %rdi
addq $0x18, %r14
cmpq %r14, %rdi
je 0x48ef
movq (%r14), %rsi
incq %rsi
callq 0x2150
movl $0x30, %esi
movq %rbx, %rdi
callq 0x2150
movq %rsp, %rdi
callq 0x2772
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x2772
movq %rbx, %rdi
callq 0x2240