Card (ICC)Format: bLength: 2
9F4D

Log Entry

Tag ID
9F4D
Format
b
Length (bytes)
2
Source
Card (ICC)

What it is

SFI and number of records of the card transaction log file.

How tag 9F4D is encoded

EMV data objects are BER-TLV: tag, then length, then value. 9F4D is a 2-byte, context-specific class, primitive tag (tag number 77), so its value is plain data rather than nested TLV objects.

9F10011111Bits 8–7 = 10: context-specific class. Bit 6 = 0: primitive. Bits 5–1 all set: the tag number continues in the next byte.
4D01001101Bit 8 = 0: last tag byte. Bits 7–1 = 77.

Length

The value is always 2 bytes, so the length field is 02. A complete 9F4D object starts 9F 4D 02 and is 5 bytes long in all.

Value format b

Format b is binary: the bits mean what this tag defines, with no padding or character conversion.

Who supplies it

The card supplies this value. The terminal reads it from the card’s responses during application selection, GET PROCESSING OPTIONS, READ RECORD or GENERATE AC, depending on where the issuer personalised it.

Specification reference

Defined in: EMV 4.x Book 3 (Application Specification), Annex A — Data Element Dictionary