tape: Comment chart for reading tags from hexdumps

This commit is contained in:
Sasha Koshka 2025-10-12 13:37:50 -04:00
parent 5778616965
commit 405b458702

View File

@ -18,6 +18,17 @@ type Tag byte; const (
CNLimit Tag = 32 // All valid CNs are < CNLimit
)
// what the first nybble of a tag means:
//
// 0-1 : SI
// 2-3 : LI
// 4-5 : LSI
// 6-7 : FP
// 8-9 : SBA
// A-B : LBA
// C-D : OTA
// E-F : KTV
func (tag Tag) TN() int {
return int(tag >> 5)
}