 Under the code, the Emperor was required to devote his time to scholarship and the arts.The Emperors under the shogunate appear to have adhered closely to this code by studying Confucian classics and devoting time to poetry and calligraphy.Emperors were only taught the rudiments of Japanese and Chinese history and geography.