// File: /workspace/github_cpp_makefile_star2_O1/lindorx[P]train/InsPro.cpp
// Function: Move1(STRINF*, STRINF*, int)
std::vector<unsigned char>Move1( STRINF *m1, STRINF *m2,int num)
{
	using namespace std;
	vector<unsigned char>data;
	vector<unsigned char>w;
	unsigned char a,b,c,c_s,d,f;
	string ch[2];
	ch[0] = m1->str;
	ch[1] = m2->str;
	a=TwoRegBin(ch,1);
	b=TwoRegBin(ch,2);
	c=TwoRegBin(ch,3);
	c_s = TwoRegBin(ch, 4);
	//�����Ƿ�Ϊ�Ĵ���֮�丳ֵ
	if (a){
		data.push_back(0x88);
		data.push_back(a);
		return data;
	}
	else if (b){
		data.push_back(0x89);
		data.push_back(b);
		return data;
	}
	else if (c){
		data.push_back(0x8c);
		data.push_back(c);
		return data;
	}
	else if (c_s){
		data.push_back(0x8e);
		data.push_back(c_s);
		return data;
	}
	else{
		d = RegACDB(ch[0], 1);//�ж�8λ�Ĵ���
		f = RegACDB(ch[0], 2);//�ж�16λ�Ĵ���
		if(d){//��d���棬˵�����ϸߵ�λ�Ĵ���
			data.push_back(d);
			//�����ж��Ƿ�Ϊ�ַ���$���������ǣ�д��3����Ԫ�أ���data�Ĵ�С���ڵ���4,���򷵻ؽ��Ĵ���������ֵת�����Ľ���
			if (ch[1] != "$"){
				//д���Ĵ�����������������ֵ������������16���ƻ�ʮ�����ַ���
				w = Num(ch[1], 1,num);
				if (w.size() > 0){
					data.insert(data.end(), w.begin(), w.end());
					return data;
				}
				else{
					//��ʱdata�Ĵ�СΪ4������ȷ����Ϊ����
					data.insert(data.end(), 2, 0x00);
					data.push_back(2);
					return data;
				}
			}
			else {
				w = NumToUc(num, 1);
				data.insert(data.end(), w.begin(), w.end());
				return data;
			}
		}
		else if(f){
			data.push_back(f);//д���Ĵ���
			//ͬ��
			if (ch[1] != "$"){
				//д���Ĵ�����������������ֵ������������16���ƻ�ʮ�����ַ���
				w = Num(ch[1], 2,num);
				//�ж��Ƿ��Ǳ����ַ���
				if (w.size() > 0){
					data.insert(data.end(), w.begin(), w.end());
					return data;
				}
				else{
					//��ʱdata�Ĵ�СΪ4������ȷ����Ϊ����
					data.insert(data.end(), 2, 0x00);
					data.push_back(1);
					return data;
				}
			}
			else {
				w = NumToUc(num, 2);
				data.insert(data.end(), w.begin(), w.end());
				return data;
			}
		}
		else{
			cout << "����MOVָ��������error-005!" << endl;
			return data;
		}
		cout << "����MOVָ��������error-019!" << endl;
		return data;
	}
	//���䣬֮ǰû�з��ֶμĴ����ĸ�ֵ
	
	return data;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movl %ecx, %r14d
movq %rdx, %r12
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movl $0x10, %eax
leaq (%rax,%rbp), %rcx
addq $-0xa0, %rcx
movq %rcx, -0x10(%rcx)
movq $0x0, -0x8(%rcx)
movb $0x0, (%rcx)
addq $0x20, %rax
cmpq $0x50, %rax
jne 0x6c75
addq $0x20, %rsi
leaq -0xa0(%rbp), %rdi
callq 0x2110
addq $0x20, %r12
leaq -0x80(%rbp), %r15
movq %r15, %rdi
movq %r12, %rsi
callq 0x2110
leaq -0xa0(%rbp), %rdi
movl $0x1, %esi
callq 0x3e40
movb %al, -0x2b(%rbp)
leaq -0xa0(%rbp), %rdi
movl $0x2, %esi
callq 0x3e40
movb %al, -0x2a(%rbp)
leaq -0xa0(%rbp), %rdi
movl $0x3, %esi
callq 0x3e40
movb %al, -0x29(%rbp)
leaq -0xa0(%rbp), %rdi
movl $0x4, %esi
callq 0x3e40
movb %al, -0x2d(%rbp)
cmpb $0x0, -0x2b(%rbp)
je 0x6d30
leaq -0x60(%rbp), %rsi
movb $-0x78, (%rsi)
movq %rbx, %rdi
callq 0x67f0
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x6d54
movb -0x2b(%rbp), %al
jmp 0x6dae
cmpb $0x0, -0x2a(%rbp)
je 0x6d5d
leaq -0x60(%rbp), %rsi
movb $-0x77, (%rsi)
movq %rbx, %rdi
callq 0x67f0
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x6d81
movb -0x2a(%rbp), %al
jmp 0x6dae
leaq -0x2b(%rbp), %rdx
jmp 0x6e55
cmpb $0x0, -0x29(%rbp)
je 0x6d8a
leaq -0x60(%rbp), %rsi
movb $-0x74, (%rsi)
movq %rbx, %rdi
callq 0x67f0
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x6db9
movb -0x29(%rbp), %al
jmp 0x6dae
leaq -0x2a(%rbp), %rdx
jmp 0x6e55
testb %al, %al
je 0x6dc2
leaq -0x60(%rbp), %rsi
movb $-0x72, (%rsi)
movq %rbx, %rdi
callq 0x67f0
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x6e51
movb -0x2d(%rbp), %al
movb %al, (%rsi)
incq 0x8(%rbx)
jmp 0x6e5d
leaq -0x29(%rbp), %rdx
jmp 0x6e55
leaq -0xa0(%rbp), %rdi
movl $0x1, %esi
callq 0x4127
movb %al, -0x2c(%rbp)
leaq -0xa0(%rbp), %rdi
movl $0x2, %esi
callq 0x4127
movb %al, -0x39(%rbp)
cmpb $0x0, -0x2c(%rbp)
je 0x6eb2
leaq -0x2c(%rbp), %rsi
movq %rbx, %rdi
callq 0x6734
leaq 0xa3ba(%rip), %rsi      # 0x111c1
movq %r15, %rdi
callq 0x20a0
testl %eax, %eax
je 0x6f1a
leaq -0x60(%rbp), %rdi
movq %r15, %rsi
movl $0x1, %edx
movl %r14d, %ecx
callq 0x48ff
movq -0x60(%rbp), %r15
movq -0x58(%rbp), %rcx
movq -0x50(%rbp), %r14
movq 0x8(%rbx), %rsi
cmpq %r15, %rcx
je 0x6f4b
movq %rbx, %rdi
movq %r15, %rdx
callq 0x6a1a
jmp 0x6e63
leaq -0x2d(%rbp), %rdx
movq %rbx, %rdi
callq 0x6920
xorl %r14d, %r14d
xorl %r15d, %r15d
movq $-0x40, %r12
leaq -0x70(%rbp), %r13
movq -0x10(%r13), %rdi
cmpq %rdi, %r13
je 0x6e83
movq (%r13), %rsi
incq %rsi
callq 0x21d0
addq $-0x20, %r13
addq $0x20, %r12
jne 0x6e6e
testq %r15, %r15
je 0x6ea0
subq %r15, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x21d0
movq %rbx, %rax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testb %al, %al
je 0x6f73
leaq -0x39(%rbp), %rsi
movq %rbx, %rdi
callq 0x6734
leaq 0xa2f4(%rip), %rsi      # 0x111c1
movq %r15, %rdi
callq 0x20a0
testl %eax, %eax
je 0x6f9c
leaq -0x60(%rbp), %rdi
movq %r15, %rsi
movl $0x2, %edx
movl %r14d, %ecx
callq 0x48ff
movq -0x60(%rbp), %r15
movq -0x58(%rbp), %rcx
movq -0x50(%rbp), %r14
movq 0x8(%rbx), %rsi
cmpq %r15, %rcx
je 0x6fcd
movq %rbx, %rdi
movq %r15, %rdx
callq 0x6a1a
jmp 0x6e63
movslq %r14d, %rsi
leaq -0x60(%rbp), %rdi
movl $0x1, %edx
callq 0x4534
movq -0x60(%rbp), %r15
movq -0x58(%rbp), %rcx
movq -0x50(%rbp), %r14
movq 0x8(%rbx), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x6a1a
jmp 0x6e63
leaq -0x60(%rbp), %rcx
movb $0x0, (%rcx)
movl $0x2, %edx
movq %rbx, %rdi
callq 0xd428
leaq -0x60(%rbp), %rsi
movb $0x2, (%rsi)
movq %rbx, %rdi
callq 0x67f0
jmp 0x6e63
movq 0xe05e(%rip), %rdi      # 0x14fd8
leaq 0xa41f(%rip), %rsi      # 0x113a0
movl $0x1b, %edx
callq 0x2210
movq 0xe046(%rip), %rdi      # 0x14fd8
callq 0x20f0
jmp 0x6e5d
movslq %r14d, %rsi
leaq -0x60(%rbp), %rdi
movl $0x2, %edx
callq 0x4534
movq -0x60(%rbp), %r15
movq -0x58(%rbp), %rcx
movq -0x50(%rbp), %r14
movq 0x8(%rbx), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x6a1a
jmp 0x6e63
leaq -0x60(%rbp), %rcx
movb $0x0, (%rcx)
movl $0x2, %edx
movq %rbx, %rdi
callq 0xd428
leaq -0x60(%rbp), %rsi
movb $0x1, (%rsi)
movq %rbx, %rdi
callq 0x67f0
jmp 0x6e63
jmp 0x7009
jmp 0x7009
jmp 0x7009
jmp 0x7019
jmp 0x7009
jmp 0x7009
jmp 0x7009
jmp 0x7019
jmp 0x7009
jmp 0x7019
movq %rax, -0x38(%rbp)
jmp 0x7023
jmp 0x7019
jmp 0x7019
jmp 0x7019
jmp 0x7019
jmp 0x7019
movq %rax, -0x38(%rbp)
xorl %r14d, %r14d
xorl %r15d, %r15d
movq $-0x40, %r13
leaq -0x70(%rbp), %r12
movq -0x10(%r12), %rdi
cmpq %rdi, %r12
je 0x7044
movq (%r12), %rsi
incq %rsi
callq 0x21d0
addq $-0x20, %r12
addq $0x20, %r13
jne 0x702e
testq %r15, %r15
je 0x7061
subq %r15, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x21d0
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x7075
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x21d0
movq -0x38(%rbp), %rdi
callq 0x2300