{"action":"created","issue":{"url":"https://api.github.com/repos/ethereum/remix-ide/issues/1338","repository_url":"https://api.github.com/repos/ethereum/remix-ide","labels_url":"https://api.github.com/repos/ethereum/remix-ide/issues/1338/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/remix-ide/issues/1338/comments","events_url":"https://api.github.com/repos/ethereum/remix-ide/issues/1338/events","html_url":"https://github.com/ethereum/remix-ide/issues/1338","id":329153392,"node_id":"MDU6SXNzdWUzMjkxNTMzOTI=","number":1338,"title":"How can I push25 bytes?","user":{"login":"zheng-bin","id":18119716,"node_id":"MDQ6VXNlcjE4MTE5NzE2","avatar_url":"https://avatars3.githubusercontent.com/u/18119716?v=4","gravatar_id":"","url":"https://api.github.com/users/zheng-bin","html_url":"https://github.com/zheng-bin","followers_url":"https://api.github.com/users/zheng-bin/followers","following_url":"https://api.github.com/users/zheng-bin/following{/other_user}","gists_url":"https://api.github.com/users/zheng-bin/gists{/gist_id}","starred_url":"https://api.github.com/users/zheng-bin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zheng-bin/subscriptions","organizations_url":"https://api.github.com/users/zheng-bin/orgs","repos_url":"https://api.github.com/users/zheng-bin/repos","events_url":"https://api.github.com/users/zheng-bin/events{/privacy}","received_events_url":"https://api.github.com/users/zheng-bin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-04T17:45:08Z","updated_at":"2018-06-05T07:41:15Z","closed_at":null,"author_association":"NONE","body":"The reason：\r\n1. My address is 50.\r\n2. The ethereum address is 40.\r\n3.  The  remix-ide only push 20.\r\n4.  So  1&2,  The first ten will become 0.\r\nPlease see the picture:\r\n![image](https://user-images.githubusercontent.com/18119716/40932463-fa132150-6860-11e8-8ca0-1d15924322ad.png)\r\n\r\nI add the log like this:\r\n```\r\ndiff --git a/core/vm/instructions.go b/core/vm/instructions.go\r\nindex 1d51796..6c21a3b 100755\r\n--- a/core/vm/instructions.go\r\n+++ b/core/vm/instructions.go\r\n@@ -221,7 +221,9 @@ func opIszero(pc *uint64, evm *EVM, contract *Contract, memory *Memory, stack *S\r\n \r\n func opAnd(pc *uint64, evm *EVM, contract *Contract, memory *Memory, stack *Stack) ([]byte, error) {\r\n        x, y := stack.pop(), stack.pop()\r\n+       fmt.Println(\"opAnd stack.pop  x,y:\", common.BigToAddress(x).String(),\"   \", common.BigToAddress(y).String())\r\n        stack.push(x.And(x, y))\r\n+       fmt.Println(\"After x.And(x, y):\", common.BigToAddress(x.And(x,y)).String())\r\n \r\n        evm.interpreter.intPool.put(y)\r\n        return nil, nil\r\ndiff --git a/core/vm/interpreter.go b/core/vm/interpreter.go\r\nindex 3faa987..7069ecc 100755\r\n--- a/core/vm/interpreter.go\r\n+++ b/core/vm/interpreter.go\r\n@@ -133,6 +133,7 @@ func (in *Interpreter) Run(snapshot int, contract *Contract, input []byte) (ret\r\n        for atomic.LoadInt32(&in.evm.abort) == 0 {\r\n                // Get the memory location of pc\r\n                op = contract.GetOp(pc)\r\n+               fmt.Println(\"current opcode:\", op, \"     program counter:\", pc)\r\n \r\n                // get the operation from the jump table matching the opcode\r\n                operation := in.cfg.JumpTable[op]\r\n\r\n```\r\n**Where should I modify the ide to push25?**\r\nThanks!!!"},"comment":{"url":"https://api.github.com/repos/ethereum/remix-ide/issues/comments/394613047","html_url":"https://github.com/ethereum/remix-ide/issues/1338#issuecomment-394613047","issue_url":"https://api.github.com/repos/ethereum/remix-ide/issues/1338","id":394613047,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDYxMzA0Nw==","user":{"login":"yann300","id":6940742,"node_id":"MDQ6VXNlcjY5NDA3NDI=","avatar_url":"https://avatars2.githubusercontent.com/u/6940742?v=4","gravatar_id":"","url":"https://api.github.com/users/yann300","html_url":"https://github.com/yann300","followers_url":"https://api.github.com/users/yann300/followers","following_url":"https://api.github.com/users/yann300/following{/other_user}","gists_url":"https://api.github.com/users/yann300/gists{/gist_id}","starred_url":"https://api.github.com/users/yann300/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yann300/subscriptions","organizations_url":"https://api.github.com/users/yann300/orgs","repos_url":"https://api.github.com/users/yann300/repos","events_url":"https://api.github.com/users/yann300/events{/privacy}","received_events_url":"https://api.github.com/users/yann300/received_events","type":"User","site_admin":false},"created_at":"2018-06-05T07:41:15Z","updated_at":"2018-06-05T07:41:15Z","author_association":"COLLABORATOR","body":"could you pinpoint how the evm code is generated?"}}
{"actor":{"display_login":"yann300"}}