The word in 40:0e is the segment address of EBDA. The address is 9ac0:0000. We can use debug to dump it.
The word in 40:13 is the system available memory size in Kbytes below 640k. The value is 0280h = 640. Therefore the memory size is 640k.
We can refer the following link for the detail of BDA.