{"title":"SPM","authors":"Aola Yousfi, Moulay Hafid El Yazidi, A. Zellou","doi":"10.1145/3419604.3419782","DOIUrl":null,"url":null,"abstract":"The Set Program Mask instruction, SPM, is used to change the 2-bit condition code and 4-bit program mask in the current PSW. Before executing SPM, you should set bits 34 and 35 of general register R1 to the desired value of the condition code. You should also initialize bits 3639 of general register R1 – these values will replace the program mask. Bits 0-33 and 40-63 of general register R1 are ignored. Here is an example:","PeriodicalId":250715,"journal":{"name":"Proceedings of the 13th International Conference on Intelligent Systems: Theories and Applications","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 13th International Conference on Intelligent Systems: Theories and Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3419604.3419782","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
The Set Program Mask instruction, SPM, is used to change the 2-bit condition code and 4-bit program mask in the current PSW. Before executing SPM, you should set bits 34 and 35 of general register R1 to the desired value of the condition code. You should also initialize bits 3639 of general register R1 – these values will replace the program mask. Bits 0-33 and 40-63 of general register R1 are ignored. Here is an example: