The present invention relates to a security document andor document of value with a hologram in a visually changeable window as a novel security element, and also to a method for producing the same. The CPU includes: a branch instruction verification unit which verifies whether a branch instruction is valid; and a branch instruction execution unit which executes the branch instruction when the branch instruction is valid. A lead frame defines a plurality of slots. The second shell comprises at least a second engaging part which is detachably engaged to the first engaging part making the first shell and the second shell form a space, wherein the magnetic unit is disposed inside the space. The body portion of the connector is also fixed to the circuit board with a screw.