// File: /workspace/github_cpp_makefile_star2_O1/sthapliyal37[P]Microprocessor_8085_Updated/DataTransfer.cpp
// Function: LHLD(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>&)
void LHLD(string instruction,string* registers,bool* flag,map<string,string>& memory){
int length=instruction.length();
	if(length==4)
	{
		if(validityAddress(instruction)&&validityAddress(increaseAddress(instruction)))
		{
			registers[6]=memory[instruction];
			registers[5]=memory[increaseAddress(instruction)];
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq 0x8(%rdi), %rdx
cmpl $0x4, %edx
jne 0xc98b
movq %rcx, %r14
movq %rsi, %rbx
movq %rdi, %r15
leaq -0x58(%rbp), %rax
movq %rax, -0x10(%rax)
movq (%rdi), %rsi
addq %rsi, %rdx
leaq -0x68(%rbp), %r12
movq %r12, %rdi
callq 0x3224
movq %r12, %rdi
callq 0x2991
movl %eax, %r13d
testb %al, %al
je 0xc886
leaq -0x38(%rbp), %rax
movq %rax, -0x10(%rax)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq -0x48(%rbp), %rdi
callq 0x3224
leaq -0xc8(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x4108
leaq -0xc8(%rbp), %rdi
callq 0x2991
movl %eax, %r12d
jmp 0xc889
xorl %r12d, %r12d
testb %r13b, %r13b
je 0xc8c6
leaq -0xb8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc8ad
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x2210
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc8c6
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0xc8df
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x2210
testb %r12b, %r12b
je 0xc98b
movq %r14, %rdi
movq %r15, %rsi
callq 0xa27a
leaq 0xc0(%rbx), %rdi
movq %rax, %rsi
callq 0x2110
leaq -0x78(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq -0x88(%rbp), %r15
movq %r15, %rdi
callq 0x3224
leaq -0xa8(%rbp), %rdi
movq %r15, %rsi
callq 0x4108
leaq -0xa8(%rbp), %rsi
movq %r14, %rdi
callq 0xcb68
addq $0xa0, %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x2110
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc973
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0x88(%rbp), %rdi
cmpq %r12, %rdi
je 0xc98b
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x2210
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0xb8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc9c9
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x2210
jmp 0xc9c9
movq %rax, %rbx
jmp 0xca06
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0xca1b
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2210
jmp 0xca1b
movq %rax, %rbx
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xca06
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0x88(%rbp), %rdi
cmpq %r12, %rdi
je 0xca34
movq -0x78(%rbp), %rsi
jmp 0xca2c
movq %rax, %rbx
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0xca34
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x2210
movq %rbx, %rdi
callq 0x2320