// File: /workspace/github_cpp_makefile_star2_O3/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 0xc8d3
movq %rcx, %r14
movq %rsi, %rbx
movq %rdi, %r15
leaq -0xb8(%rbp), %r13
movq %r13, -0x10(%r13)
movq (%rdi), %rsi
addq %rsi, %rdx
leaq -0xc8(%rbp), %r12
movq %r12, %rdi
callq 0x31ec
movq %r12, %rdi
callq 0x2997
testb %al, %al
je 0xc815
leaq -0x38(%rbp), %rax
movq %rax, -0x10(%rax)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq -0x48(%rbp), %rdi
callq 0x31ec
leaq -0xa8(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x407c
leaq -0xa8(%rbp), %rdi
callq 0x2997
movl %eax, %r12d
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc7fa
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0xc818
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2210
jmp 0xc818
xorl %r12d, %r12d
movq -0xc8(%rbp), %rdi
cmpq %r13, %rdi
je 0xc833
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x2210
testb %r12b, %r12b
je 0xc8d3
movq %r14, %rdi
movq %r15, %rsi
callq 0xa1e4
leaq 0xc0(%rbx), %rdi
movq %rax, %rsi
callq 0x2110
leaq -0x58(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq -0x68(%rbp), %r15
movq %r15, %rdi
callq 0x31ec
leaq -0x88(%rbp), %rdi
movq %r15, %rsi
callq 0x407c
leaq -0x88(%rbp), %rsi
movq %r14, %rdi
callq 0xca98
addq $0xa0, %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x2110
leaq -0x78(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc8be
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0x68(%rbp), %rdi
cmpq %r12, %rdi
je 0xc8d3
movq -0x58(%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 -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc911
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x2210
jmp 0xc911
movq %rax, %rbx
jmp 0xc948
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0xc95a
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2210
jmp 0xc95a
movq %rax, %rbx
leaq -0x78(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc948
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0x68(%rbp), %rdi
cmpq %r12, %rdi
je 0xc975
movq -0x58(%rbp), %rsi
jmp 0xc96d
movq %rax, %rbx
movq -0xc8(%rbp), %rdi
cmpq %r13, %rdi
je 0xc975
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x2210
movq %rbx, %rdi
callq 0x2320